What the $%*&! is happening?
What the $%*&! is happening?
Some commands and procedures to shed some light on the current state of play on your OpenServer Release 5 box.
Who am I? who am i
Who am I really? id -l
Where am I? pwd
What am I doing? ps -f
Who did I login as? logname
What's my terminal? tty
What are my terminal parameters? stty -a
Is terminal flow control working? ls -alR / (look for garbage)
What is my current crontab file? crontab -l
Do I have uucp jobs queued? uustat
My uucp system name? uuname -l
My version number? uname -X | grep Release
What is the system doing? w
What versions are installed? swconfig
What are my hardware settings? hwconfig -hc
Is /etc/passwd correct? pwck
Is /etc/group correct? grpck
Is /etc/gettydefs correct? /etc/getty -c /etc/gettydefs
Do all files have owners? quot (look for numeric UID)
Who is using all the disk space? quot
When did joe last login? last -n 10 joe
What files are owned by UID=944? find / -user 944 -exec l -d {} \;
Are file perms/owners/links OK? custom -v symlinks
custom -v config
Check uucp file consistency. /usr/lib/uucp/uucheck
What are uucp access permissions? /usr/lib/uucp/uucheck -v
How do I stop the X11 login? scologin [options]
Give me color text! setcolor
- Tuning and performance
Has the system been swapping? swap -l
How much diskspace is left? dfspace or df -v -i
Kernel Tuning menu cd /etc/conf/cf.d; configure
What are the kernel parameters? /etc/conf/cf.d/configure -x
Open files, inodes, processes? pstat | grep '^[0-9]'
How is the system running? vmstat 10
- Peripherals
How do I boot DOS, NT, etc? bootos [options]
What is the print spooler doing? lpstat -t
Stop the scheduler. /usr/lib/lpshut
Restart a printer. /usr/lib/accept printer_name ;
/usr/bin/enable printer_name
How do I stop this monster? init 6 or shutdown -g0 -y
How do I mount a cdrom? mount -r /dev/cd0 /mnt
Where's my DOS partition? dosdir /dev/hd0d
- Online docs
Documentation? man -a command_name
Whazzat? whatis command_name
Which Documentation? apropos buzz_word
- Networking
Where am I? hostname
Is system foo alive? ping foo
ping 192.168.111.1
What machines are connected? netstat
How is the network doing? netstat 10
Where are the packets going? netstat -rn
Network not work? netstat -s
How is the ethernet card doing? ndstat or ndstat -l
What's my network configuration? ifconfig -a
PPP? pppstat