Showing posts with label init. Show all posts
Showing posts with label init. Show all posts

Saturday, July 16, 2016

Systemd: Consistent Network Device Naming:

Command:

$ ifconfig enp0s3
enp0s3    Link encap:Ethernet  HWaddr 01:00:27:e0:e0:90
          inet addr:192.168.0.6  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: 240f:73:3f1c:1:a00:27ff:fed3:c992/64 Scope:Global
          inet6 addr: fe80::a00:27ff:fed3:c992/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:106346 errors:0 dropped:0 overruns:0 frame:0
          TX packets:53448 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:154908226 (154.9 MB)  TX bytes:3778719 (3.7 MB)


  • en: Ethernet
  • p0s3: PCI device (p<bus>s<slot>)

Monday, May 16, 2016

Ubuntu: Install, Configure, and Run Sysstat

Installation:

$ sudo apt-get install sysstat


Configuration:

$ cat /etc/default/sysstat
#
# Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat
# and /etc/cron.daily/sysstat files
#

# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!
ENABLED="true"


Execution:

$ sudo service sysstat start