Subscribe for email updates

Get all updates to your inbox to stay tune.

Curve tracing programs - Draw sin(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Graphics programming in C

Learn how to write basic and advanced graphics programming in c language

Curve tracing programs - Draw Cos(x) curve using Graphics programming in C

Learn how to draw curve tracing graphics programs in c language

Make file tutorial

A step by step guide to learn how to write make file in Linux with examples

Thursday, June 24, 2010

Printing Process Tree in AIX and Linus

AIX: Process tree basically lists the parent-child list of a given process.

proctree

# proctree 9437388
3473570 /usr/sbin/srcmstr
4391090 /usr/sbin/inetd
9437388 telnetd -

Linux:
ps -ejH

793 793 793 ? 00:00:00 gdm-binary
909 793 793 ? 00:00:00 gdm-simple-slav
940 940 940 tty7 00:13:02 Xorg
1228 793 793 ? 00:00:00 gdm-session-wor
1497 1497 1497 ? 00:00:00 gnome-session
1534 1534 1534 ? 00:00:00 ssh-agent
1559 1497 1497 ? 00:00:00 bluetooth-apple
1561 1497 1497 ? 00:00:05 gnome-panel

Friday, June 11, 2010

How to get inode details ?

# istat x
Inode 25058 on device 10/4 File
Protection: rw------- Owner: 0(root) Group: 0(system)
Link count: 1 Length 35437 bytes
Last updated: Tue Apr 27 06:14:04 CDT 2010 Publish Post
Last modified: Tue Apr 27 06:14:04 CDT 2010
Last accessed: Tue Apr 27 06:14:04 CDT 2010


The syntax is : istat

Wednesday, June 9, 2010

Extract files froma fileset

restore -qxvf

Lets start with AIX tip - how to get a fileset associated with a file ?

# lslpp -w /usr/bin/ls
File Fileset Type
----------------------------------------------------------------------------
/usr/bin/ls bos.rte.commands File