Interesting. To be honest i find the behavior of df -h much more annoying. Here is my PC:
First: I would like to see the filesystems not all sorts of gimmicks. The output of mount is equally unusable, because ones wades through lists of "virtual filesystems", which are no filesystems at all.
But what takes the biscuit is the different units in which the output is formatted: MB, GB and even KB all mixed together and you have no immediate picture what is filled to which extent. In AIX i use df -g and know what i want to know within a second.
bakunin
These 2 Users Gave Thanks to bakunin For This Post:
hello,
i have use only TURBO C for programming.i used to did only on windows OS. but now i am trying to program on Linux systems.so i heard about GNU C tools and compiler. i am a bit confused and i want to know a very simplified answer for it. can anybody help me. what a heck is this GNU......
... (1 Reply)
i am looking forward to this one:
http://www.opensolaris.org/jive/message.jspa?messageID=11672#11672
i thought that the gentoo community would release the first opensolaris distri, but perhabs we will get a chance to try opensolaris within 1/2 hour installation and not 12 hours "gentoo-stage_1"... (2 Replies)
Hi everyone,
I urgently need to install all GNU tools for HP-UX 11.23. Is there somewhere i can get the whole package as opposed to download each of them separate.
I'm really stuck, i need them especially gcc.
kindly assist. (2 Replies)
Hello,
One of the things I like about screen is that it has a scrollback buffer, which if you go into the copy mode, will let you go back for a specified number of line. Is there a way to extend the number of scrollback lines in screen? I've looked thoroughly online and I could not find a... (2 Replies)
Hi Chaps,
Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Hi, We are running 64-bit AIX 6.1. I have gcc 4.2.0 on our system. I'd like to get the latest copy of GNU findutils on the server. From what I see, I have two basic options: 1) download source code and compile using gcc or 2) download rpm and install. Would someone please point me in the right... (1 Reply)
I wish to be able to print a barcode .5 inches from top of the page and centered.
I generate the barcode -
yes 12345 | head -84 | barcode -p 5x5.0cm -umm -e CODE39 > test.ps;
and print -
lpr -o media=letter -#1 -P LJ1012 /var/www/test.ps -o page-top=33 -o page-bottom=44 -o... (1 Reply)
I'm just learning Regex and while testing my understanding I received some unexpected results.
I created example.txt with the text "abcddd". Running the command
grep --color 'd' example.txt
I received the results:
"abcddd" with the first and second letter d highlighted in red.
So... (1 Reply)
Discussion started by: rthomas529
1 Replies
LEARN ABOUT OSX
iosnoop
iosnoop(1m) USER COMMANDS iosnoop(1m)NAME
iosnoop - snoop I/O events as they occur. Uses DTrace.
SYNOPSIS
iosnoop [-a|-A|-Deghinostv] [-d device] [-f filename] [-m mount_point] [-n name] [-p PID]
DESCRIPTION
iosnoop prints I/O events as they happen, with useful details such as UID, PID, block number, size, filename, etc.
This is useful to determine the process responsible for using the disks, as well as details on what activity the process is requesting. Be-
haviour such as random or sequential I/O can be observed by reading the block numbers.
Since this uses DTrace, only users with root privileges can run this command.
OPTIONS -a print all data
-A dump all data, space delimited
-D print time delta, us (elapsed)
-e print device name
-i print device instance
-N print major and minor numbers
-o print disk delta time, us
-s print start time, us
-t print completion time, us
-v print completion time, string
-d device
instance name to snoop (eg, dad0)
-f filename
full pathname of file to snoop
-m mount_point
mountpoint for filesystem to snoop
-n name
process name
-p PID process ID
EXAMPLES
Default output, print I/O activity as it occurs,
# iosnoop
Print human readable timestamps,
# iosnoop -v
Print major and minor numbers,
# iosnoop -N
Snoop events on the root filesystem only,
# iosnoop -m /
FIELDS
UID User ID
PID Process ID
PPID Parent Process ID
COMM command name for the process
ARGS argument listing for the process
SIZE size of the operation, bytes
BLOCK disk block for the operation (location. relative to this filesystem. more useful with the -N option to print major and minor num-
bers)
STIME timestamp for the disk request, us
TIME timestamp for the disk completion, us
DELTA elapsed time from request to completion, us (this is the elapsed time from the disk request (strategy) to the disk completion
(iodone))
DTIME time for disk to complete request, us (this is the time for the disk to complete that event since it's last event (time between
iodones), or, the time to the strategy if the disk had been idle)
STRTIME
timestamp for the disk completion, string
DEVICE device name
INS device instance number
D direction, Read or Write
MOUNT mount point
FILE filename (basename) for I/O operation
NOTES
When filtering on PID or process name, be aware that poor disk event times may be due to events that have been filtered away, for example
another process that may be seeking the disk heads elsewhere.
DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver-
bose descriptions explaining the output.
EXIT
iosnoop will run forever until Ctrl-C is hit.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO iotop(1M), dtrace(1M)version 1.50 Jul 25, 2005 iosnoop(1m)