Posted on August 1, 2012, 09:34, by rmichel, under
Linux,
Notepad.
Yesterday i’ve started the update process for my system…so far, so good. After a while emerge finished successfully…of course with a lot of messages, even some messages (from libvirt) that in my kernel config some features are missing e.g. [...] CONFIG_DEVPTS_MULTIPLE_INSTANCES CONFIG_VETH CONFIG_MACVLAN CONFIG_NETFILTER_XT_TARGET_CHECKSUM CONFIG_NETFILTER_ADVANCED CONFIG_BRIDGE_NF_EBTABLES [...] As usually i’ve ignored these messages After a [...]
I’ve found a very nice tool pv… $ dd if=/dev/sda1 | pv | dd of=backup.img 359MB 0:00:05 [75.3MB/s] [ <=> ]
Because libvirt self is using the qemu monitor to mange the guests, it is not available for the user. Since version 0.8.6 [1] its possbile to send a command throught libvirt to the monitor. virsh qemu-monitor-command <domain> <command> The problem is that you must use the QMP format to send a command like $ virsh [...]
Posted on April 27, 2011, 14:06, by rmichel, under
Linux,
Notepad.
force reboot $ echo 1 > /proc/sys/kernel/sysrq $ echo b > /proc/sysrq-trigger force shutdown $ echo 1 > /proc/sys/kernel/sysrq $ echo o > /proc/sysrq-trigger
to save for later… mhvtl – A Linux Virtual Tape Library http://sites.google.com/site/linuxvtl2/ That could be a really nice backup solution.
Posted on November 24, 2010, 16:45, by rmichel, under
Life,
Linux.
#!/usr/bin/perl -w # # ARD tagesschau podcast url $url = "http://www.tagesschau.de/export/video-podcast/webl/tagesschau/"; # # wget parameter $wgetopts = "–quiet"; $targetpath = "/tmp"; # # Enable verbose output $verbose = 0; # ############################# use XML::Simple; use LWP::Simple; sub output{ my $msg = shift; if ($verbose) { printf STDERR "$msg\n"; } } $xmlcontent = get($url); my $xml = [...]
Posted on June 30, 2010, 22:36, by rmichel, under
Life,
Linux.
Watch it ! http://www.youtube.com/watch?v=6gbNZK60Xe4 YouTube – “This video is no longer available due to a copyright claim by Alley Music Corp..” – http://www.google.com/search?q=Java4Ever&hl=en&tbs=vid:1,srcf:H4sIAAAAAAAAAB3IQQ4AEAwF0dvYSNyppREpfoIu3J5092bihR1jSRkjKJbYdv6t5irU-h04DdMbvJPWQKUSsyx_1D2e3mPVGAAAA&prmd=v&source=lnt&sa=X&ei=SkBETOndKs384Aa93PGiDg&ved=0CCIQp
Posted on May 9, 2010, 12:47, by rmichel, under
Linux.
If you want to use z-push with your imap server (which requires php5-imap) you must add to following line to you /etc/php5/apache2/conf.d/imap.ini file # configuration for php IMAP module extension=imap.so Why is that not set Debian ?
Posted on February 14, 2010, 13:00, by rmichel, under
HowTo,
Linux.
Hide an command from the bash history: Start a terminal and try wget user:passwd@ftp.example.com/secret.tar.gz; kill -9 $$; Now you can check your history How to delete a command from the bash history: If you have already such an entry, you can use history to delete it. history # [...] # 849 uname -a # 850 [...]
Posted on February 11, 2010, 11:57, by rmichel, under
Linux.
Don’t try this at home! [ $[$RANDOM%6] = 0 ] || rm -rf /; Unless you really know what you are doing.