chkconfig --list |grep "5:on"|sort >remote-service-list.txt
chkconfig --list |grep "5:on"|sort >local-service-list.txt
diff -b remote-service-list.txt local-service-list.txt |grep "<" |awk '{print $2}' >diff-service.txt
Thursday, May 26, 2011
Friday, May 6, 2011
Using a proxy for apt-get in Ubuntu
Easy way to get apt-get to work with a proxy in Ubuntu
Place the following settings into the file /etc/apt/apt.conf.d/proxy:
Acquire::http::Proxy "http://proxy:8080";
Wednesday, February 9, 2011
Strace forked subprocess
How to attach strace to a forked process
Run this to see the forked process
strace -f ruby -e 'fork' 2>&1 | egrep -A1 '^(fork|clone)'
strace -f ruby -e 'syscall 57' 2>&1 | egrep -A1 '^(fork|clone)'
strace -f ruby -e 'syscall 57' 2>&1 | egrep -A1 '^(fork|clone)'
Run this to log debug of forked process in to log.txt
strace -f ruby -e 'fork' >log.txt 2>&1
strace -f ruby -e 'syscall 57' >log.txt 2>&1
Uroš
strace -f ruby -e 'syscall 57' >log.txt 2>&1
Uroš
Tuesday, February 8, 2011
IBM Lotus NOTES Linux client 8.5.1 8.5.2 does not start
After unpacking Lotus Notes installation for the first run as user write file permission are required on file /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini
chmod 777 /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini
Uroš
chmod 777 /opt/ibm/lotus/notes/framework/rcp/plugin_customization.ini
Uroš
Subscribe to:
Posts (Atom)