トップ «前の日記(2015-04-11(Sat)) 最新 次の日記(2015-04-17(Fri))» 編集

屑俺日記

僕の備忘録(PC、UN*X、ネットワーク関連が中心)なんです。
自分の書いたところは適当(な時とか)に書き換えますので御了承を。


2015-04-14(Tue) 降ったり降ったり

systemctl

debian jessieで。

$ systemctl status
● $HOSTNAME
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: 火 2015-04-14 13:24:36 JST; 8min ago
   CGroup: /
           ├─1 /sbin/init
           ├─system.slice
           │ ├─avahi-daemon.service
           │ │ ├─384 avahi-daemon: running [$HOSTNAME.local
           │ │ └─391 avahi-daemon: chroot helpe
           │ ├─dbus.service
           │ │ └─385 /usr/bin/dbus-daemon --system \
  --address=systemd: --nofork --nopidfile --systemd-activation
           │ ├─cron.service
           │ │ └─375 /usr/sbin/cron -f
           │ ├─apache2.service
           │ │ ├─515 /usr/sbin/apache2 -k start
           │ │ ├─521 /usr/sbin/apache2 -k start
           │ │ └─522 /usr/sbin/apache2 -k start
           │ ├─atd.service
           │ │ └─376 /usr/sbin/atd -f
           │ ├─systemd-journald.service
           │ │ └─134 /lib/systemd/systemd-journald
           │ ├─ssh.service
           │ │ └─377 /usr/sbin/sshd -D
           │ ├─systemd-logind.service
           │ │ └─380 /lib/systemd/systemd-logind
           │ ├─system-getty.slice
           │ │ └─getty@tty1.service
           │ │   └─427 /sbin/agetty --noclear tty1 linux
           │ ├─systemd-udevd.service
           │ │ └─143 /lib/systemd/systemd-udevd
           │ ├─mysql.service
           │ │ ├─462 /bin/sh /usr/bin/mysqld_safe
           │ │ └─931 /usr/sbin/mysqld --basedir=/usr \
  --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin \
  --user=mysql --log-error=/var/log/mysql/error.log \
  --pid-file=/var/run/mysqld/mysqld.pid \
  --socket=/var/run/mysqld/mysqld.sock --port=3306
           │ ├─rpcbind.service
           │ │ └─351 /sbin/rpcbind -w
           │ ├─system-ifup.slice
           │ │ └─ifup@eth0.service
           │ │   └─459 dhclient -v -pf /run/dhclient.eth0.pid \
  -lf /var/lib/dhcp/dhclient.eth0.leases eth0
           │ ├─rsyslog.service
           │ │ └─402 /usr/sbin/rsyslogd -n
           │ └─acpid.service
           │   └─403 /usr/sbin/acpid
           └─user.slice
             └─user-$UID.slice
               ├─session-1.scope
               │ ├─1082 sshd: $USER [priv]   
               │ ├─1087 sshd: $USER@pts/0    
               │ ├─1088 -bash
               │ └─1104 systemctl status
               └─user@$UID.service
                 ├─1084 /lib/systemd/systemd --user
                 └─1085 (sd-pam) 

やれやれ長いこと。


リンクはご自由にどうぞ。でもURLや内容が変った場合はあしからず。

index.htmlは ここから。