w -- To Check the load on Server
df -h -- To check the disk space utilization of server
free -m -- To check the memory utilization of server
vzlist -- Shows list of Virtual Machines
vzctl enter vpid -- To enter into the vps
ps -auxf -- To check the running process of Server
who -- check who is on the server
lastlog -- check who was has been on the server
tail -f /var/log/messages -- To check the logs
tail -f /usr/local/psa/var/log/maillog -- Plesk Server Qmail Logs
tail -f /var/log/secure -- Monitor login attempts
Command to disable email service on plesk server /usr/local/psa/bin/domain.sh -u "Domain name" -mail_service false
netstat -i :- Display list of all open ports
ifconfig -a Network card and IP address information
top - Process Activity Command
vmstat - System Activity, Hardware and System Information
vmstat -m Report Virtual memory statistics(Display Memory utilization stableinfo)
route -n Display routing information
route
more /etc/network/interfaces :- Debian / Ubuntu Linux network configuration file (all interface eth0,eth1,...ethN)
df -h :- Find out disk space usage
du -h :- Find/Estimate file space usage:
ulimit -a Find out user limits
lsmod :- Find out installed device drivers (modules)
cat /proc/cpuinfo : - Find out information about Linux CPU
cat /proc/meminfo :- Find out information about Linux Memory
View login related logs:-
tail -f /var/log/secure
vi /var/log/secure
grep 'something' /var/log/secure
View mail server related logs:-
tail -f /var/log/maillog
vi /var/log/maillog
grep 'something' /var/log/maillog
df -h -- To check the disk space utilization of server
free -m -- To check the memory utilization of server
vzlist -- Shows list of Virtual Machines
vzctl enter vpid -- To enter into the vps
ps -auxf -- To check the running process of Server
who -- check who is on the server
lastlog -- check who was has been on the server
tail -f /var/log/messages -- To check the logs
tail -f /usr/local/psa/var/log/maillog -- Plesk Server Qmail Logs
tail -f /var/log/secure -- Monitor login attempts
Command to disable email service on plesk server /usr/local/psa/bin/domain.sh -u "Domain name" -mail_service false
netstat -i :- Display list of all open ports
ifconfig -a Network card and IP address information
top - Process Activity Command
vmstat - System Activity, Hardware and System Information
vmstat -m Report Virtual memory statistics(Display Memory utilization stableinfo)
route -n Display routing information
route
more /etc/network/interfaces :- Debian / Ubuntu Linux network configuration file (all interface eth0,eth1,...ethN)
df -h :- Find out disk space usage
du -h :- Find/Estimate file space usage:
ulimit -a Find out user limits
lsmod :- Find out installed device drivers (modules)
cat /proc/cpuinfo : - Find out information about Linux CPU
cat /proc/meminfo :- Find out information about Linux Memory
View login related logs:-
tail -f /var/log/secure
vi /var/log/secure
grep 'something' /var/log/secure
View mail server related logs:-
tail -f /var/log/maillog
vi /var/log/maillog
grep 'something' /var/log/maillog
No comments:
Post a Comment