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)
Is there any way to make netstat output the information in a more human readable format? even if it's not exact? I don't even care if it has to round up/down to the nearest Meg to make it work.
I wind up having to stare at netstat running for while and I wish I could get it to output things in a... (10 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)
Discussion started by: sk151993
2 Replies
LEARN ABOUT DEBIAN
blkiomon
BLKIOMON(8)BLKIOMON(8)NAME
blkiomon - monitor block device I/O based o blktrace data
SYNOPSIS
blkiomon -I interval [ -h file ] [ -b file ] [ -D file ] [ -Q path_name -q msg_queue_id -m msg_id ] [ -V ]
DESCRIPTION
blkiomon is a block device I/O monitor. It periodically generates per-device request size and request latency statistics from blktrace
data. It provides histograms as well as data that can be used to calculate min, max, average and variance. For this purpose, it consumes D
and C traces read from stdin.
There are options for binary output and human-readable output to files and stdout. Output to a message queue is supported as well.
There is no need to use blkparse with blkiomon. blkiomon is capable of consuming binary output written to stdout by blktrace.
OPTIONS -I interval
--interval=interval
Set sample interval
-h file
--human-readable=file
Human-readable output file. Use '-' for stdout.
-b file
--binary=file
Binary output file. Use '-' for stdout.
-D file
--debug=file
Output file for debugging data. Use '-' for stdout.
-Q path_name
--msg-queue=path_name
Sets path_name as path name for existing message queue to be used for binary output.
-q msg_queue_id
--msg-queue-id=msg_queue_id
Sets msg_queue_id as ID for an existing message queue to be used for binary output.
-m msg_id
--msg-id=msg_id
Sets msg_id as message identifier to be used for binary output messages written to an existing message queue.
-V
--version
Print program version.
EXAMPLES
To get I/O statistics for /dev/sdw every 10 seconds for a period of one hour, use the following command:
% blktrace /dev/sdw -a issue -a complete -w 3600 -o - | blkiomon -I 10 -h -
AUTHORS
blkiomon and this man page were written by Martin Peschke.
REPORTING BUGS
Report bugs to <linux-btrace@vger.kernel.org>
COPYRIGHT
Copyright (C) 2008 IBM Corp.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
btrace (8), blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1), btt (1)
July 17, 2008 BLKIOMON(8)