#ipcs | awk '/^0x000000/ && /nobody/ {print $2}' | xargs -n1 ipcrm -s
- 1 Users Found This Useful
Related Articles
Reset cPanel (WHM) Initial configuration
Have you configured dedicated server with cPanel (WHM) for a client but would like to reset WHM...
SAR (system activity monitor)
SAR (system activity monitor) produces system utilization reports based on the data collected...
Securing /dev/shm
To secure /dev/shm look for the mount line for /dev/shm in /etc/fstab and change it to the...
Stop Console Messages
2 ways to stop messages output on linux server console #mesg n or #vi /etc/sysctl.conf...
Backup & Restore MySQL Database from Shell
- Backup a database mysqldump -u Username -p dbname > anyname.sql - Restore a database...