Posts Categorized: linux

Get Image Dimensions on the COmmand Line

Occasionally useful to find out the dimensions of an image without having to load an image editor or file manager. From the ImageMagick toolkit: identify myimage.jpg tiffinfo myimage.tif pnginfo myimage.png

Anti-Virus Software on Linux

A friend contacted me today running an Ubuntu live CD and trying to scan a windows drive for viruses. So for future reference the following antivirus packages can be tried: BitDefender Avira AVG Clam Clam is in the repositories so you don’t need to specifically download it – just search within the Software Center e.g…. Read more »

K3B Buring CDs with MP3s

Creating an Audio CD in K3B (my favourite CD burning software) I received an error that MP3 format was not supported and that the files need to be converted to WAV format first. Problems while adding files to the project. Unable to handle the following files due to an unsupported format:You may manually convert these… Read more »

Rsyslog and Log Analyzer

These are the steps I took to create a centralised location of system logs. In this scenario multiple servers (earth, venus, mars) send their system logs to a central server (sun 192.168.1.1). I’m not going to cover the configuration of Apache, MySql except were it applies to Log Analyzer. Most of the servers are running… Read more »

FFmpeg Command-line Video Conversion

Video files can be converted using GUI tools such as Handbrake, Arista, WinFF but if you don’t mind the command line – or if you want to automate video file conversion then the following examples might help:Convert to FLV ffmpeg -i video.avi video.flv ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320×240 video.flv… Read more »

SNMP with Nagios

I thought I would jot down a few notes about today’s adventures with SNMP. Specifically using SNMP with Nagios mostly on Red Hat/CentOS. I have an appliance from a third-party from which I would like to monitor and graph performance. So view this as a beginner howto for future reference. There is good info here… Read more »

Uptime

1084 days on this internal monitoring machine. Unfortunately I had to take the machine down as I was replacing it.

Linux Find Not Owner

In Linux to find files not owned by user using the ‘find’ command we negate with the exclamation mark so rather than: find . -user jonny we use: find . ! -user jonny Where: find <dir> ! -user <username>