Tuesday, March 03, 2015

strace command


# strace -f -e trace=connect,read -s2048 glance --debug image-list > /tmp/st 2>&1

Wednesday, February 25, 2015

how to unblock hung unresponsive screen session

^a q

http://stackoverflow.com/questions/4367669/the-gnu-screen-is-unresponsive-seems-blocked

Thursday, January 22, 2015

disable selinux centos7

from http://blog.zwiegnet.com/linux-server/disable-selinux-centos-7/

summary:
[root@localhost ~]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
now execute:

[root@localhost ~]# sed -i 's/enforcing/disabled/g' /etc/selinux/config 

then reboot

Friday, January 09, 2015

how to deference Data::Dumper output

see my post here:
http://stackoverflow.com/questions/27870579/how-do-i-dereference-datadumper-output