Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm using

$ fs_usage -f diskio

to spy on processus when I hear my hard drive spinning for no reason, so that I know who is working so hard..

Here is one sample line:

16:14:13.785568    WrMeta[AT3]     D=0x003e67a8  B=0x2000   /dev/disk0s2  /Applications/VLC.app/Contents/MacOS/plugins/libfilesystem_plugin.dylib                                                                                                                                             0.067353 W launchd.73389

Strangely, when I

$ fs_usage -f diskio > output

the column 3-6 are missing in the file output.

I don't understand where they could have gone..

share|improve this question
1  
I'd guess the lack-of-a-tty-on-STDOUT confuses fs_usage as to the width of the no-such-terminal. Try adding the -w flag to fs_usage to force it to assume a wide "terminal"? –  thrig 17 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.