"구글 클라우드쉘"의 두 판 사이의 차이

11번째 줄: 11번째 줄:


<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
testuser@cloudshell:~$ ps 1
testuser@cloudshell:~$ ps -ef
    PID TTY     STAT  TIME COMMAND
UID          PID   PPID  C STIME TTY         TIME CMD
       1 ?        Ss    0:00 /bin/bash /google/scripts/onrun.sh sleep infinity
root          1       0  0 16:20 ?        00:00:00 /bin/bash /google/scripts/onrun.sh sleep infinity
root          9      1  0 16:20 ?        00:00:00 /usr/sbin/rsyslogd
root          26      1  0 16:20 ?        00:00:00 /usr/bin/python /usr/bin/supervisord -n -c /google/devshell/supervisord.conf --pidfile=/var/run/supervisor.pid --logfile=/var/log/supervisord.log
root          27      1  0 16:20 ?        00:00:00 logger -t supervisord
root          83      1  0 16:20 ?        00:00:00 /usr/sbin/sshd -p 22 -o AuthorizedKeysFile=/etc/ssh/keys/authorized_keys
root        178      1  0 16:20 ?        00:00:00 /usr/bin/dockerd -p /var/run/docker.pid --mtu=1460 --registry-mirror=https://us-mirror.gcr.io
root        217    178  0 16:20 ?        00:00:00 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
root        254      26  0 16:20 ?        00:00:00 /google/devshell/editor/proxy/theia-proxy -static-content-dir=/google/devshell/editor/theia/lib -etag-file=/google/devshell/editor/proxy/theia-etags.txt -theia-dir=/google/devshell/editor/theia
root        255      26  0 16:20 ?        00:00:00 sudo /google/devshell/tmux-agent
root        273    255  0 16:20 ?        00:00:00 /google/devshell/tmux-agent
root        477      1  0 16:20 ?        00:00:00 sleep infinity
root        494      83  0 16:20 ?        00:00:00 sshd: g468025791368_compute [priv]
g404883+    496    494  0 16:20 ?        00:00:00 sshd: g468025791368_compute@pts/0
g404883+    497    496  0 16:20 pts/0    00:00:00 bash -l
g404883+    766    497  0 16:23 pts/0    00:00:00 ps -ef
</syntaxhighlight>
</syntaxhighlight>
<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
testuser@cloudshell:~$ pstree -A
user01@cloudshell:~$ pstree -A
bash-+-dockerd-+-containerd---13*[{containerd}]
bash-+-dockerd-+-containerd---10*[{containerd}]
     |        `-16*[{dockerd}]
     |        `-10*[{dockerd}]
     |-logger
     |-logger
     |-python-+-sudo---tmux-agent---5*[{tmux-agent}]
     |-python-+-sudo---tmux-agent---4*[{tmux-agent}]
     |        `-theia-proxy-+-node-+-node-+-node-+-2*[node---16*[{node}]]
     |        `-theia-proxy---4*[{theia-proxy}]
    |                      |      |      |      |-2*[node-+-node---10*[{node}]]
    |                      |      |      |      |        |-node---6*[{node}]]
    |                      |      |      |      |        |-php---3*[{php}]]
    |                      |      |      |      |        `-10*[{node}]]
    |                      |      |      |      `-10*[{node}]
    |                      |      |      `-6*[{node}]
    |                      |      `-10*[{node}]
    |                      `-7*[{theia-proxy}]
     |-rsyslogd---3*[{rsyslogd}]
     |-rsyslogd---3*[{rsyslogd}]
     |-sleep
     |-sleep
     |-sshd-+-2*[sshd---sshd---bash---bash]
     `-sshd---sshd---sshd---bash---pstree
    |      `-sshd---sshd-+-bash---start-shell.sh---tmux: client
    |                    `-sftp-server
    `-tmux: server---bash---pstree
</syntaxhighlight>
</syntaxhighlight>



2020년 12월 24일 (목) 01:28 판

1 개요

Google Cloud Shell
구글 Cloud Shell, 구글 클라우드 쉘
  • 온라인 배쉬쉘, 데비안 기반
  • 프리티어(free tier)
  • 웹브라우저 등에서 GCP를 편리하게 관리할 수 있는 쉘환경
  • "어떤 브라우저에서든 커맨드라인으로 인프라 및 애플리케이션 관리[1]"
  • 1.7 GB 메모리
  • 영구 디스크 스토리지 5 GB ( $HOME 디렉토리 )
쉘환경 자체는 비활성이지만, 홈 디렉토리에 저장하면 보존된다.
testuser@cloudshell:~$ ps -ef
UID          PID    PPID  C STIME TTY          TIME CMD
root           1       0  0 16:20 ?        00:00:00 /bin/bash /google/scripts/onrun.sh sleep infinity
root           9       1  0 16:20 ?        00:00:00 /usr/sbin/rsyslogd
root          26       1  0 16:20 ?        00:00:00 /usr/bin/python /usr/bin/supervisord -n -c /google/devshell/supervisord.conf --pidfile=/var/run/supervisor.pid --logfile=/var/log/supervisord.log
root          27       1  0 16:20 ?        00:00:00 logger -t supervisord
root          83       1  0 16:20 ?        00:00:00 /usr/sbin/sshd -p 22 -o AuthorizedKeysFile=/etc/ssh/keys/authorized_keys
root         178       1  0 16:20 ?        00:00:00 /usr/bin/dockerd -p /var/run/docker.pid --mtu=1460 --registry-mirror=https://us-mirror.gcr.io
root         217     178  0 16:20 ?        00:00:00 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
root         254      26  0 16:20 ?        00:00:00 /google/devshell/editor/proxy/theia-proxy -static-content-dir=/google/devshell/editor/theia/lib -etag-file=/google/devshell/editor/proxy/theia-etags.txt -theia-dir=/google/devshell/editor/theia
root         255      26  0 16:20 ?        00:00:00 sudo /google/devshell/tmux-agent
root         273     255  0 16:20 ?        00:00:00 /google/devshell/tmux-agent
root         477       1  0 16:20 ?        00:00:00 sleep infinity
root         494      83  0 16:20 ?        00:00:00 sshd: g468025791368_compute [priv]
g404883+     496     494  0 16:20 ?        00:00:00 sshd: g468025791368_compute@pts/0
g404883+     497     496  0 16:20 pts/0    00:00:00 bash -l
g404883+     766     497  0 16:23 pts/0    00:00:00 ps -ef
user01@cloudshell:~$ pstree -A
bash-+-dockerd-+-containerd---10*[{containerd}]
     |         `-10*[{dockerd}]
     |-logger
     |-python-+-sudo---tmux-agent---4*[{tmux-agent}]
     |        `-theia-proxy---4*[{theia-proxy}]
     |-rsyslogd---3*[{rsyslogd}]
     |-sleep
     `-sshd---sshd---sshd---bash---pstree

2 같이 보기

3 참고

  1. Manage your infrastructure and applications from the command-line in any browser
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}