1) Share your files and folders residing on your Linux machine with anyone across the web.
Here is the simple way to share files across network on linux , without the need of SMB or NFS .
Open a bash terminal and create an alias as follows:
Next navigate to the directory which you want to share with someone and run $ python -c "import SimpleHTTPServer; SimpleHTTPServer.test()" command
Your Linux machine will now start serving the whole directory tree on the port number 8000.
And anybody can access all your files within that directory at the following web address – http://:8000/ .
Tip:
If you have firewall enabled , you need to open port 8000.
2) Open xwindow apps on remote system:
only local , open a Linux window and type the following:
- xhost +
- telnet
- setenv DISPLAY
:0.0
&
3) Find Out The Top 10 Memory Consuming Process
# ps -auxf | sort
-nr -k 4 | head -10
4) Find Out top 10 CPU Consuming Process
# ps -auxf | sort
-nr -k 3 | head -10
5) iostat : average cpu activity
6) pmap -d PID : memory map of a process
7) copy directory to remote linux
scp -r
@ :remote .
No comments:
Post a Comment