LG’s Tucked-Away RMA Portal

I recently purchased an LG blu-ray burner which was DOA.

I might just be an idiot, and things may have changed by now but I wasted a solid half hour of my life not finding anywhere to RMA the drive on their Canadian consumer products site.

For your benefit, so you do not end up on hold with consumer support for 20 minutes as I did, the location of the RMA portal:

https://www.lgrepairportal.com

Documentary for Dinner: Light Darkness and Colours (1998)

Using Goethe’s Theory of Colours as point of departure, Light Darkness and Colours takes us on a fascinating journey through the universe of colours.

Find the Largest Open Files and Their Owner(s) on Linux with lsof

In this article we covered finding the largest files on a file system. Often this doesn’t account for the whole story when you scramble to clear up a filled volume; for as long as a process exists which has opened a given file that file will – even if apparently deleted – continue to exist until that process releases it.

This strategy has numerous benefits, not the least of which is the ability to upgrade libraries and binaries in-place. The software which relies on these libraries continues to run using the version it was started up with, preventing crashes due to version mismatching and giving you time to update the binaries themselves before restarting for minimal downtime.

Unfortunately, this makes things slightly confusing. You may have deleted a 400MB log file expecting to have immediately freed 400MB but df is still reporting that your file system is full. If you know what process “owns” that file it’s usually a simple matter of restarting the corresponding software. You won’t always know this, however, and that’s where some clever use of the lsof command comes in handy.

lsof spits out the size and owner of all open files. If you already know the file you’re looking for it’s as simple as grepping the output:

# lsof | grep "/var/log/zimbra.log"
COMMAND     PID    USER   FD      TYPE             DEVICE    SIZE/OFF       NODE NAME
rsyslogd   1285    root    6w      REG             202,17    65125680    2031675 /var/log/zimbra.log

If we pipe lsof‘s output through awk and sort we can get some useful, human-readable information. This command will give us the 10 largest currently open files, the size of the files in megabytes and the name of the process(es) using them:

# lsof / | awk '{if($7 > 1048576) print $7/1048576 "MB" " " $9 " " $1}' | sort -n -u | tail

For example:

498.804MB /var/log/zimbra.log zimbra

To view more or less than 10 results add -n X where X is the number of lines you would like to see to the tail command.

Return top
foxpa.ws
Online Marketing Toplist
Internet
Technology Blogs - Blog Rankings

Internet Blogs - BlogCatalog Blog Directory

Technology blogs
Bad Karma Networks

Please Donate!


Made in Canada  •  There's a fox in the Gibson!  •  2010-12