Mostly i'm using it to watch overall throughput through the interfaces.
So normally all i'm doing is.
So i'll leave netstat running for a very long time and then scroll back through history looking for spikes in traffic and such trying to determine if the system is pushing too much traffic. If I could get it to display in more human readable numbers it would make life easier.
Hi,
The following command provides the usage in 1024-byte blocks
du -ks * | sort -n | echo "$1"
...
1588820 user10
2463140 user11
2464096 user12
5808484 user13
6387400 user14
.....
I am trying to produce an output of first coulmn by multiplying by 1024 so that the output should... (11 Replies)
This is what I have to start out with
more file
1208217600
1208131200
1193806800
I want to convert the epoch column into a human-readable format. My file has hundreds of these epoch times that I want to loop through and convert. (The epoch time is really the last column of the line)
... (3 Replies)
$ quota
Disk quotas for user cqlouis (uid 1254):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb1 64 300000 320000 8 0 0
$
I want to make the output of command quota in human readable format? How to?
As we... (2 Replies)
Hello
I have log file from solaris system which has date field converted by Java application using System.currentTimeMillis() function, example is 1280943608380 which equivalent to GMT: Wed, 04 Aug 2010 17:40:08 GMT.
Now I need a function in shell script which will convert 1280943608380... (3 Replies)
Hi,
I want to list all the directories present in a particular location and want to display their sizes as well. I know "ls -lh" but it doesn't show the size of the complete directory. So i want something like
dir1 266 MB
dir2 2 KB
dir3 22 MB
...
...
file1 10 Kb
.....
Thanks
Sarbjit (4 Replies)
This does not work. One line works but my pattern are about 100 characters long and it is messy to read. When I try to use several lines it does not two'
find "$inputDirectory" \( -name 'very long pattern1'
-o -name 'very long pattern2'
-o -name... (1 Reply)
Can someone help me to write a shell script to convert epoch timestamp into human readable format
1394553600,"test","79799776.0","19073982.728571","77547576.0","18835699.285714"
1394553600,"test1","80156064.0","19191275.014286","62475360.000000","14200554.720000"... (10 Replies)
Scripting Language: bash shell script, python
I want to parse .nessus file in human readable format. If any one have any ideas please help me. (2 Replies)
Hello.
I am comparing two binary file.
The first file is the source file. The second file is a modified version of the first one.
Modification concern uuid value.
Example
first file have multiple occurrences of 69a3604b-ac2b-43b7-af84-0a4a67fc6962 second file have the same occurence... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT DEBIAN
nethogs
NETHOGS(8) System Manager's Manual NETHOGS(8)NAME
nethogs - Net top tool grouping bandwidth per process
SYNOPSIS
nethogs [-d] [-h] [-p] [-t] [-V] [device(s)]
DESCRIPTION
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per protocol or per subnet, like most such tools do, it groups
bandwidth by process - and does not rely on a special kernel module to be loaded. So if there's suddenly a lot of network traffic, you can
fire up NetHogs and immediately see which PID is causing this, and if it's some kind of spinning process, kill it.
Options
-d delay for refresh rate.
-h display available commands usage.
-p sniff in promiscious mode (not recommended).
-t tracemode.
-V prints Version info.
device(s) to monitor. By default eth0 is being used.
INTERACTIVE CONTROL
m cycle between display modes (kb/s, kb, b, mb)
r sort by 'received'
s sort by 'sent'
q quit
SEE ALSO netstat(8)tcpdump(1)pcap(3)AUTHOR
Written by Arnout Engelen <arnouten@bzzt.net>.
14 February 2004 NETHOGS(8)