# list messages in the queue
exim -bp
# remove a single message
exim -Mrm 1RsGHp-0008Kz-6P
# remove all messages
exim -bp | exiqgrep -i | xargs exim -Mrmgrep '' /sys/class/net/eth*/carrier /sys/class/net/eth*/operstatetop command has lots of useful columns, but since many applications run multiple worker processes (eg. webservers like Apache), it's a bit difficult to see the big picture. The following one-liner aggregates a selected column in the output of top by the process name (ie. the COMMAND column) and sorts the result in decreasing order:top -b -n 1 | tail -n +8 | awk '{ col=$6; if (match(col, "^[0-9]+m$")) { col = 1000 * substr(col, 1, length(col) - 1) }; stat[$12] += col } END { for (i in stat) { print stat[i] ": " i } }' | sort -rn | head -n 20[root@server ~]# vi /etc/udev/rules.d/95-san.rules
# To Set "noop" as I/O scheduler for iSCSI and Fiber Channel devices
ACTION=="add", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-iscsi-*", RUN+="/bin/sh -c 'echo noop > /sys$DEVPATH/queue/scheduler'"
ACTION=="add", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-fc-*", RUN+="/bin/sh -c 'echo noop > /sys$DEVPATH/queue/scheduler'"w3m) which might not be desired (many websites are less than usable in text-based browsers and the launch of such an URL in a text-based browser is more an annoyance than help). You can easily avoid this behaviour.awk '{ if (NR == 1) sub(/^\xef\xbb\xbf/, ""); print }' INFILE > OUTFILEsed -i -e '1s/^\xEF\xBB\xBF//' FILE
TCP Catcher comes as a simple JAR (yes, this one is written in Java too, just like Charles) and has a lot less features than Fiddler or Charles. However less is sometimes more. It consists of only two screens: settings page and request (TCP or HTTP) list. It's very easy and fast to set up and works quite well. If you don't need the rich feature set of Charles, TCP Catcher is the way to go. 
Recent comments
1 day 15 hours ago
1 day 19 hours ago
3 days 3 hours ago
3 days 7 hours ago
3 days 11 hours ago
5 days 9 hours ago
1 week 9 hours ago
1 week 2 days ago
1 week 5 days ago
2 weeks 52 min ago