02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7 CentOS 7 <br />

<br />

systemctl status <br />

systemd cgroup <strong>Linux</strong> <br />

cgroup CPU <br />

<br />

# systemctl status httpd<br />

httpd.service - The Apache HTTP Server<br />

Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled)<br />

Active: active (running) since 2015-01-28 15:23:50 JST; 33s ago<br />

Main PID: 2926 (httpd)<br />

Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0<br />

B/sec"<br />

CGroup: /system.slice/httpd.service<br />

2926 /usr/sbin/httpd -DFOREGROUND<br />

2927 /usr/sbin/httpd -DFOREGROUND<br />

2928 /usr/sbin/httpd -DFOREGROUND<br />

2929 /usr/sbin/httpd -DFOREGROUND<br />

2930 /usr/sbin/httpd -DFOREGROUND<br />

2931 /usr/sbin/httpd -DFOREGROUND<br />

1 28 15:23:50 centos7.example.com httpd[2926]: AH00557: httpd: apr_socka<br />

d...<br />

1 28 15:23:50 centos7.example.com httpd[2926]: AH00558: httpd: Could not<br />

...<br />

1 28 15:23:50 centos7.example.com systemd[1]: Started The Apache HTTP Se<br />

r...<br />

Hint: Some lines were ellipsized, use -l to show in full.<br />

<br />

systemctl restart <br />

# systemctl restart httpd<br />

# systemctl status httpd<br />

httpd.service - The Apache HTTP Server<br />

www.lpi.or.jp 199 (C) LPI-Japan

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!