Check "Real memory" on pa-risc and Ia64

quarta-feira, 23 de janeiro de 2013

I'm listing just one way to check the memory on server but as usual there are many ways to do that.

PA-RISC

# getconf REAL_MEMORY HPUX

ITANIUM

# machinfo | grep -i memory

or

# dmesg | grep mem

Tusc - Process trace "Debug mode"

domingo, 13 de janeiro de 2013

- Why this process is running and is taking so much time???!??!

I am sure someday this question will pass for your mind, in order to try find out what is going on we have the possibility to install a software called "tusc" on HP-UX, a similar command in AIX is the truss (it's native on OS). The output can be not so friendly...

Follow an example using tusc to trace the system calls and signal.

# /usr/local/bin/tusc -apf <pid>

How to mount a windows share on HP-UX

sexta-feira, 4 de janeiro de 2013

After some time away... here is a new post :-)
and by the way... Happy New Year!!

Requirements:

- User account on Windows box
- Root access on HP-UX box
- cifs patch installed on HP-UX
- Network communication between them (client and server)
- Directory shared on Windows

Check if cifs is running:
# cifsclient status

If it is not running..
# cifsclient start

Create a directory to be used for your mount point and use the bellow command to mount:
# cifsmount //WINDOWSserverHostname/DirectoryShared /YourMountpoint -U username

Check the man pages for more flags to be used with cifsmount command.