gileb-aix.blogspot.com
My survival notes... : septembre 2013
http://gileb-aix.blogspot.com/2013_09_01_archive.html
AIX / linux / PowerHA . and stuff. Lundi 23 septembre 2013. Remove tabs and spaces before # with sed. In order to remove leading spaces and tabs on Linux, i use following standard sed command :. Cat aaa sed 's/[ t]*#/#/g'. But on AIX t doesn't work . In order to run it on AIX, replace t. And tab (key tab). Cat aaaa sed 's/ *#/#/g'. Liens vers cet article. Mercredi 11 septembre 2013. Probevue to trace accesses to a file. Using probevue to trace who is accessing a file :. The answer is probevue. Printf(" ...
gileb-aix.blogspot.com
My survival notes... : modify sharepool attributes on command line
http://gileb-aix.blogspot.com/2014/01/modify-sharepool-attributes-on-command.html
AIX / linux / PowerHA . and stuff. Mardi 7 janvier 2014. Modify sharepool attributes on command line. To show resources of sharepools :. Lshwres -r procpool -m Managed System. To change max cpu on command line, for a given sharepool :. Chhwres -r procpool -m Managed System -o s - poolname Sharepool -a "max pool proc units=1". Inscription à : Publier les commentaires (Atom). Divers AIX linux infos intéressantes. Santosh Gupta's passion for AIX. Infos AIX et autres. Rechercher dans ce blog. Qui suis je .
gileb-aix.blogspot.com
My survival notes... : avril 2012
http://gileb-aix.blogspot.com/2012_04_01_archive.html
AIX / linux / PowerHA . and stuff. Mardi 10 avril 2012. How to find the devices in pre defined subclass. Root @ test # lsdev -P -H. PCM iscsiother friend SCSI/FCP Disk Path Control Module. PCM sasother friend SCSI/FCP Disk Path Control Module. PCM scsiscsd friend SCSI/FCP Disk Path Control Module. PCM sisarray friend SCSI/FCP Disk Path Control Module. Adapter df1000fa pci FC Adapter. Adapter df1000fd pci FC Adapter. Adapter df1000f114108a0 pciex 8Gb PCI Express Dual Port FC Adapter (df1000f114108a03).
gileb-aix.blogspot.com
My survival notes... : Be sure to be on different switchs !
http://gileb-aix.blogspot.com/2012/10/be-sure-to-be-on-different-switchs.html
AIX / linux / PowerHA . and stuff. Jeudi 18 octobre 2012. Be sure to be on different switchs! It's good to have more than one fcs adapter. but it's better to be sure they are connected on different switchs! Each id is different, if it is on another switch. In this case we have two adapters (or 2 ports on the same card):. Root:/# lsdev -c adapter grep fcs. Fcs0 Available 30-T1 Virtual Fibre Channel Client Adapter. Fcs1 Available 31-T1 Virtual Fibre Channel Client Adapter. But on the same vio server! Fc er...
gileb-aix.blogspot.com
My survival notes... : avril 2013
http://gileb-aix.blogspot.com/2013_04_01_archive.html
AIX / linux / PowerHA . and stuff. Mardi 16 avril 2013. Script to open console on partition. I never remember on what frame is a partition. And i dont want to open an HMC to just launch a console. I use this simple, small shell to open the console for me :. Before using it, you must have a valide ssh connexion (with key validation) to all hmc you need to access, and you must change the HMC variable to your HMCs. I try to write all of my stuff like that. 1 : partition name. If [ -z $1 ]. For i in $HMC.
gileb-aix.blogspot.com
My survival notes... : probevue to trace accesses to a file
http://gileb-aix.blogspot.com/2013/09/probevue-to-trace-accesses-to-file.html
AIX / linux / PowerHA . and stuff. Mercredi 11 septembre 2013. Probevue to trace accesses to a file. Using probevue to trace who is accessing a file :. A lot of debugging can be done with truss, in order to see what system calls are called by programs. While it can be a real time saver, it can only run on a pid or a specific command. What if you want to see, who is doing that particular system call? The answer is probevue. I have used it for some time, now, and it helped a lot for debugging purposes.
gileb-aix.blogspot.com
My survival notes... : Exclude files or directories from commands
http://gileb-aix.blogspot.com/2012/12/exclude-files-or-directories-from.html
AIX / linux / PowerHA . and stuff. Mercredi 19 décembre 2012. Exclude files or directories from commands. An easy way to remove elements from command line :. Remove every files except *.c or *.h). Can be used with grep, for directories exlusion. :. Grep P770 P7 1 A30! Grep P770 P7 1 A30 from every underlying directories, except www and logs. Inscription à : Publier les commentaires (Atom). Divers AIX linux infos intéressantes. Santosh Gupta's passion for AIX. Infos AIX et autres. Rechercher dans ce blog.
gileb-aix.blogspot.com
My survival notes... : mars 2012
http://gileb-aix.blogspot.com/2012_03_01_archive.html
AIX / linux / PowerHA . and stuff. Mardi 20 mars 2012. TTL et cache DNS. Si on interroge un dns cache, et qu'aucun des primaires ne connait l'adresse demandée, il y aura un TTL avant de pouvoir vraiment redécouvrir l'adresse, une fois que celle ci sera connue dans un DNS. Ce TTL se déclenche à la premiere interrogation (ici il est de 3600 secondes):. Dig nocmd toto.titi.zzz.fr. HEADER - opcode: QUERY, status: NXDOMAIN, id: 1094. Flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0. Howeve...
gileb-aix.blogspot.com
My survival notes... : fun with probevue...
http://gileb-aix.blogspot.com/2014/10/today-we-had-fun-problem.html
AIX / linux / PowerHA . and stuff. Jeudi 16 octobre 2014. Today, we had a fun problem. Someone, or something is modifying /tmp on an AIX server, with chmod command (from 777 sticky to 755 ). Nothing in .sh history, neither bash history, so i decided to use a simple probevue script to catch the mouse :. Int chmod(char *buf, unsigned long size);. Auto String arg[128];. Arg = get userstring( arg1, 128);. If (arg = "/tmp"). Printf("%s sur %s ,pid = %d, ppid = %d , uid = %d n", pname,arg, pid, ppid, uid) ;.
gileb-aix.blogspot.com
My survival notes... : Remove tabs and spaces before # with sed
http://gileb-aix.blogspot.com/2013/09/remove-tabs-and-spaces-before-with-sed.html
AIX / linux / PowerHA . and stuff. Lundi 23 septembre 2013. Remove tabs and spaces before # with sed. In order to remove leading spaces and tabs on Linux, i use following standard sed command :. Cat aaa sed 's/[ t]*#/#/g'. But on AIX t doesn't work . In order to run it on AIX, replace t. And tab (key tab). Cat aaaa sed 's/ *#/#/g'. Inscription à : Publier les commentaires (Atom). Divers AIX linux infos intéressantes. Santosh Gupta's passion for AIX. Infos AIX et autres. Rechercher dans ce blog.