Welcome to UltratechHost Forum, Guest. Please take the time to register if you haven't, or click

Tags
Author: UltratechHost - Replies: 0 - Views: 3860
Basic linux servers monitoring commands
To monitor your dedicated server or vps status you can use following commands . they’ll help you to know something about your system health.


Code:
pstree

Processes and parent-child relationships

Code:
top

Show top processes

Code:
iostat

Report CPU statistics and input/output statistics for devices and partitions.

Code:
ps -auxw

process status

Code:
uname -a

print system information

[code]cat /proc/v
Author: UltratechHost - Replies: 0 - Views: 4738
Linux Commands – Top 20 Most Used
The history file is a log file of your last used commands on the Linux server,
It can be found in your home directory and is called .bash_history (with the “.” in the start).
You can either read the file itself to see its content, or use the command history which will do the same thing.

When looking at my history files on my Linux servers,
I can see maybe 20 Linux commands which I keep using over and over,
They are the most important tools of my work, and I recommend learning them well to
Author: UltratechHost - Replies: 0 - Views: 3799
Nginx Web Server Commands
Q. How do I start / stop / restart Nginx webserver under FreeBSD operating systems? How do I test Nginx web server config file syntax before restarting my server?

Update /etc/rc.conf

All you have to do is add following line to your /etc/rc.conf file:

Code:
nano /etc/rc.conf
nginx_enable="YES"
Once added use the following command to control nginx web server. You must be root user to control nginx.

Start Nginx Web Server Command

[code]/usr/local/etc/rc.d/nginx start[/code
Author: UltratechHost - Replies: 0 - Views: 3166
Using of Simple Commands
Date Command:
Code:
date
The date command will show you current date.

Passwd Command:
Code:
passwd
The passwd command will be used to change the password of logged in user where as if we want to change password of another user we can use the bellow command
Code:
passwd dinesh

Head/Tail Commad:
Code:
head /etc/passwd
Code:
tail /etc/passwd

The head and tail command shows begining to end of a file where as these two commands a