| Blogs | Classifieds | Downloads | FlashChat | Gallery | Googlemap | Invite Friends | Links | Projects | Reviews | Wiki |
| |||||||||
Welcome to the pSeries Tech Forums,
our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software. You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments. Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community. Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
| Our Sponsors | |
| | |
| Want to advertise? | |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
Dear Experts, Being new to the AIX world, we are currently troubleshooting a problem with Oracle whereby we need to get the paths and file names corresponding to a running process. Normally, in an HP-UX environment, we would have run the following command to get the desired information: ================================================== =========================== HP-Server1:>lsof -p 2759 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME httpd 2759 root cwd DIR 64,0x3 8192 2 / httpd 2759 root txt REG 64,0x6 2836116 1708 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x7 53248 9828 /usr/lib/libnss_files.1 httpd 2759 root mem REG 64,0x6 180224 2434 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x7 36864 5160 /usr/lib/libpam.1 httpd 2759 root mem REG 64,0x6 2341372 2412 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2440 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2443 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2445 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2430 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2429 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2423 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 163340 2413 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2426 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2421 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2420 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2419 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2415 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 90112 2439 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 24576 2417 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2444 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 24576 2441 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2416 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 28672 2431 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 12288 2418 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 24576 2424 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 16384 2427 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 49152 2422 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 57344 2432 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 32768 2433 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 36864 2442 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 45056 2438 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 28672 2436 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 40960 2437 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 32768 2435 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2425 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2428 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x6 20480 2446 /opt (/dev/vg00/lvol6) httpd 2759 root mem REG 64,0x7 12288 5144 /usr/lib/libisamstub.1 httpd 2759 root mem REG 64,0x7 1261568 4991 /usr/lib/libcl.2 httpd 2759 root mem REG 64,0x7 159744 28032 /usr/lib/libpthread.1 httpd 2759 root mem REG 64,0x7 135168 33812 /usr/lib/libxti.2 httpd 2759 root mem REG 64,0x7 745472 35179 /usr/lib/libnsl.1 httpd 2759 root mem REG 64,0x7 61440 33825 /usr (/dev/vg00/lvol7) httpd 2759 root mem REG 64,0x7 24576 44420 /usr/lib/libdld.2 httpd 2759 root mem REG 64,0x7 1822720 5199 /usr/lib/libc.2 httpd 2759 root mem REG 64,0x7 282624 5035 /usr/lib/libm.2 httpd 2759 root mem REG 64,0x7 155648 33826 /usr/lib/libsec.2 httpd 2759 root mem REG 64,0x7 253952 44418 /usr/lib/dld.sl httpd 2759 root mem REG 64,0x8 532 2449 /var/spool/pwgr/status httpd 2759 root 0u CHR 3,0x2 0t0 66 /dev/null httpd 2759 root 1u CHR 3,0x2 0t0 66 /dev/null httpd 2759 root 2u REG 64,0x6 14011381 36993 /opt (/dev/vg00/lvol6) httpd 2759 root 3u REG 64,0x6 0 18204 /opt (/dev/vg00/lvol6) httpd 2759 root 4u REG 64,0x6 0 36994 /opt (/dev/vg00/lvol6) httpd 2759 root 5u unix 64,0x8 0t0 23210 /var/spool/sockets/pwgr/ client2759 (0x6014c080) httpd 2759 root 6u REG 64,0x6 0 36994 /opt (/dev/vg00/lvol6) httpd 2759 root 15u REG 64,0x6 14011381 36993 /opt (/dev/vg00/lvol6) httpd 2759 root 16u inet 0x605134c0 0t0 TCP *:http (LISTEN) httpd 2759 root 17u REG 64,0x6 43767223 36995 /opt (/dev/vg00/lvol6) httpd 2759 root 18u REG 64,0x6 0 18205 /opt (/dev/vg00/lvol6) HP-Server1:> On our server which is running the AIX operating system, the following information is being displayed: ================================================== =========================== AIX-Server2: home/oracle>lsof -p 1953904 lsof: WARNING: access /home/oracle/.lsof_server2: No such file or directory lsof: WARNING: created device cache file: /home/oracle/.lsof_server2 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME httpd 1953904 oracle cwd VDIR 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 0r FIFO 0xf10001005dac8d90 354 httpd 1953904 oracle 1w VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 2w FIFO 0xf10001005cdade50 0 httpd 1953904 oracle 3u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 4u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 5u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 6w FIFO 0xf10001005cdade50 0 httpd 1953904 oracle 7u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 8u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 9r VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 10r FIFO 0xf1000100586291f0 0 httpd 1953904 oracle 11w FIFO 0xf10001005d110310 0 httpd 1953904 oracle 12w FIFO 0xf1000100586291f0 0 httpd 1953904 oracle 13u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 14u VREG 38,3 0 0 /asd02 (/dev/lv_asd02) httpd 1953904 oracle 15u IPv4 0xf100060003b70390 0t0 TCP loopba ck:dlip (LISTEN) httpd 1953904 oracle 16u IPv4 0xf100060003f90b90 0t0 TCP *:vsta t (LISTEN) httpd 1953904 oracle 17w VCHR 2,2 0t0 0 / (/de v/hd4) (like device special /dev/null) httpd 1953904 oracle 18w VREG 38,3 0 4043310868 /asd02 (/dev/lv_asd02) AIX-Server2: home/oracle> Question: Are there other ways to get the desired information? If yes, how? Thanking you in advance for your replies. kind regards Yogeeraj |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |