skimppimppin along! NEWS   FORUM   DOWNLOAD   LINKS    
HOME ACCOUNT PRIVATE MESSAGE  
Login
Username:

Password:


Lost Password?

Register now!

Main Menu

Search

skimpydog.com Forum Index
   No Distro Specific
  A few notes... to keep the sane sane...

Browsing this Thread:   1 Anonymous Users

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
A few notes... to keep the sane sane...
#1
Webmaster
Joined: 2007/6/10
From Dallas, TX
Posts: 79
Level : 7
HP : 0 / 170
MP : 26 / 8767
EXP : 83
Group:
Webmasters
Registered Users
Offline
Not always, but sometimes with tar{on unix} you have to use a "-" before the switches, such as "tar -zcfvp ...". this not necessary on linux.

Creating a tarball:
tar zcfvp name_of_the_file.tar.gz /path/to/the/directory{/orFile.txt}


Decompress a tarball:
tar zxfv name_of_the_file.tar.gz


Having problems when you logout of a shell, or your session is disconnected but you wish you could still run the process....
nohup tar zcfp name_of_the_file.tar.gz /path/to/the/directory &


Need to see everything going on??
ps
ps axlf

ps axlfwww

lsof
lsof | grep cwd

lsof | grep IPv4

netstat
netstat -nao

will not work on BSD
netstat -nap


There are others.... such as using watch, and netstat - and grepping output:
SACK (Selective Acknowledgment) TCP
watch -d 'netstat -s|grep SACK'

(TCP)Transmission Control Protocol to acknowledge receipt of a packet
watch -d 'netstat -i|grep -i ack'

netstat -pan | egrep 'tcp|udp' | awk {'print $4'} | awk -F: {'print $1'} | sort | uniq -c | sort -n

netstat -pan | egrep 'tcp|udp'| sort | uniq -c | sort -n
Posted on: 2009/8/22 3:43
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.
Links