WTF? several anon_inode and /dev/null listings with lsof search

Mikkel L. Ellertson mellertson at gmail.com
Tue Aug 7 01:58:16 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/06/2012 06:47 PM, Ed Greshko wrote:
> On 08/07/2012 05:18 AM, rabidblogger at Safe-mail.net wrote:
>> I've searched the web and cannot find anything which explains
these to my satisfaction.
>
> I don't know.... But I have lots of them (3496) belonging to
processes such as kded4, knotify4, konsole, pulseaudio, chrome,
thunderbird, and others.... So, I'm sure it simply is due to using a
common system call......
>
> Besides, you asked the same question on OpenSUSE.
>
Process starting with their output redirected to /dev/null? I know
it is used a lot in batch files where you do want any of the version
or identification output of a program - just the return code and
whatever the program does. It is also sometimes used to send any
error output to the bit bucket.

Another common use is in cron jobs - you only want output if there
is an error, or any output to be output through syslog. Normal
program output would generate an unwanted e-mail message from the
cron job.

Mikkel
- -- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAgdjgACgkQqbQrVW3JyMR0qQCfSTreBPVOCYjBs8owpQKDoVRP
EZYAnAvM6P6L4uK3Cp3BUf74AOZW0cho
=XheV
-----END PGP SIGNATURE-----



More information about the users mailing list