Mark Voortman, Ph.D.
vmstat
uptime
whowwho –b
top
ps
swapinfo
iostat
systat
nc commandnc
is a Swiss Army knife TCP/UDP utilitypkg install py38-glancespkg install py38-bottleglancesglances –w –B {IP address of server}glances –w –B 192.168.1.74
service
command available to interact with servicesservice –e will display enabled servicesservice –eservice devd statusservice sshd stop (be careful not to lock yourself
out)service sshd statusservice -epkg install monit
cron.pid file is protected, which is why/etc/crontab/var/cron/tabs* matches everything*/integer is that dimension, every interval
crontab –e: Creates or edits a user croncrontab –l: Lists contents of a user croncrontab –r: Removes a user cron/var/cron/allow: List of users allowed to use
crontab/var/cron/deny: List of users prohibited from using
crontab/etc/syslog.conf for logging configuration/etc/syslog.conf contains logging configurationsecurity.* /var/log/securityauth.info;authpriv.info /var/log/auth.logmail.info /var/log/mailloglpr.info /var/log/lpd-errsftp.info /var/log/xferlogcron.* /var/log/cron/etc/newsyslog.conf for listsyslog.conf would contain the lists of clients
sending it logging infoheadtailgrepcatgrep error /var/log/messagespkg install colorize
$ logger Check this out!!$ tail /var/log/messagesFeb 7 00:29:51 CMPS261Server admin1: Check this out!!/boot/loader.rc/boot/defaults/loader.conf and
/boot/loader.conf/etc/rc which contains start-up commands/etc/rc.conf is a configuration file with some editable
settings
/etc/rc.shutdown is runshutdown -p nowpoweroff