Checking diskspace in linux

Some command that you can execute to check for linux diskspace.

ls –lSr (it will Show files by size, biggest last)
du -s * | sort -k1,1rn | head (Show top disk users in current dir)
df –h (Show free space on mounted filesystems)
df –i (Show free inodes on mounted filesystems)
fdisk –l (Show disks partitions sizes and types (run as root))
rpm -q -a –qf ‘%10{SIZE}\t%{NAME}\n’ | sort -k1,1n (List all packages by installed size)

Permalink 0 Comments Posted in Linux Tips & Tricks
Services need to stop on webserver

Login to your linux console, on sudo account execute command below listed:

/sbin/service sbadm stop
/sbin/chkconfig sbadm off

/sbin/service pcscd stop
/sbin/chkconfig pcscd off

/sbin/service hidd stop
/sbin/chkconfig hidd off

/sbin/service avahi-dnsconfd stop
/sbin/chkconfig avahi-dnsconfd off

/sbin/service avahi-daemon stop
/sbin/chkconfig avahi-daemon off

/sbin/service saslauthd stop
/sbin/chkconfig saslauthd off

/sbin/service gpm stop
/sbin/chkconfig gpm off

/sbin/service cups stop
/sbin/chkconfig cups off

/sbin/service xfs stop
/sbin/chkconfig xfs off

/sbin/service atd stop
/sbin/chkconfig atd off

/sbin/service nfslock stop
/sbin/chkconfig nfslock off

/sbin/service canna stop
/sbin/chkconfig canna off

/sbin/service FreeWnn stop
/sbin/chkconfig FreeWnn off

/sbin/service cups-config-daemon stop
/sbin/chkconfig cups-config-daemon off

/sbin/service iiim stop
/sbin/chkconfig iiim off

/sbin/service mDNSResponder stop
/sbin/chkconfig mDNSResponder off

/sbin/service nifd stop
/sbin/chkconfig nifd off

/sbin/service rpcidmapd stop
/sbin/chkconfig rpcidmapd off

/sbin/service bluetooth stop
/sbin/chkconfig bluetooth off

/sbin/service anacron stop
/sbin/chkconfig anacron off

Permalink 0 Comments Posted in Linux Tips & Tricks


Fatal error: Call to undefined function get_pagination() in /home/.seurat/h_ronald/crossnodes.net/wp-content/themes/crossnodes/index.php on line 99