Sponsored Content
Operating Systems SCO SLD: Failed to start the PMD Connection thread. (PM_THREAD_FAILED_TO_START). Post 302508681 by DGPickett on Monday 28th of March 2011 05:16:04 PM
Old 03-28-2011
Linux has strace, solaris and aix have truss, hp-ux has tusc, but they all trace calls. Play around with strace and something simple, like date or ls, to see how to modify and expand the output.

Code:
$ tusc date
execve("/usr/bin/date", 0x7b0f58c0, 0x7b0f58c8) .......... = 0 [32-bit]
utssys(0x7b0f7cf0, 0, 0) ................................. = 0
open("/usr/lib/dld.sl", O_RDONLY, 054304) ................ = 3
read(3, "02\v010e0512@ \0E 1d0214\0\0\0\0".., 128) ....... = 128
lseek(3, 128, SEEK_SET) .................................. = 128
read(3, "10\0\004\0\0\0( \0033 94\0\0\0\0".., 48) ........ = 48
mmap(NULL, 209812, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB|MAP_STATICPREDICTION, 3, 40960) = 0xc0010000
mmap(NULL, 17752, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 253952) = 0x7b0eb000
close(3) ................................................. = 0
sysconf(_SC_CPU_VERSION) ................................. = 532
utssys(0x7b0f80f0, 0, 0) ................................. = 0
getuid() ................................................. = 3080 (3080)
getuid() ................................................. = 3080 (3080)
getgid() ................................................. = 6900 (6900)
getgid() ................................................. = 6900 (6900)
mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0e9000
open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0200) ERR#2 ENOENT
open("/usr/lib/libc.2", O_RDONLY, 0200) .................. = 3
fstat(3, 0x7b0f8998) ..................................... = 0
read(3, "0210010e0512@ \0\0\0\0\0\0\0\0\0".., 128) ....... = 128
lseek(3, 128, SEEK_SET) .................................. = 128
read(3, "10\0\004\0\0\0( \012e3< \0\010\0".., 48) ........ = 48
read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) .................. = 12
mmap(NULL, 1241088, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 290816) = 0xc0100000
mmap(NULL, 57344, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, 0) = 0x7b0db000
mmap(0x7b0d2000, 36864, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 3, 1531904) = 0x7b0d2000
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0ce000
close(3) ................................................. = 0
open("/usr/lib/libdld.2", O_RDONLY, 0200) ................ = 3
fstat(3, 0x7b0f8b98) ..................................... = 0
read(3, "02\v010e0512@ \0E 1d0217\0\0\0\0".., 128) ....... = 128
lseek(3, 128, SEEK_SET) .................................. = 128
read(3, "10\0\004\0\0\0( \0\0) \ \0\010\0".., 48) ........ = 48
read(3, "80\0\0\v\0\0\004\0\0\0\0", 12) .................. = 12
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 8192) = 0xc0003000
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 20480) = 0x7b0cd000
close(3) ................................................. = 0
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c9000
mmap(NULL, 88, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b0c8000
sigsetreturn(0x7b0cfd56, 0x6211988, 1392) ................ = 0
sysconf(_SC_CPU_VERSION) ................................. = 532
brk(0x40001558) .......................................... = 0
brk(0x4000354c) .......................................... = 0
brk(0x40004000) .......................................... = 0
open("/usr/lib/nls/loc/locales.2/C", O_RDONLY, 0200) ..... = 3
fstat(3, 0x7b0f8798) ..................................... = 0
read(3, "0210010e0512@ \0\0\0\0\0\0\0\0\0".., 128) ....... = 128
lseek(3, 128, SEEK_SET) .................................. = 128
read(3, "10\0\004\0\0\0( \0\0! e0\0\010\0".., 48) ........ = 48
read(3, "80\0\001\0\0\0  9 2 4 5 ", 12) .................. = 12
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 4096) = 0xc0006000
mmap(NULL, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 16384) = 0x7b0c5000
close(3) ................................................. = 0
stat("/usr/lib/nls/loc/locales.2/C", 0x7b0f7e08) ......... = 0
getuid() ................................................. = 3080 (3080)
getuid() ................................................. = 3080 (3080)
getgid() ................................................. = 6900 (6900)
getgid() ................................................. = 6900 (6900)
open("/prod1/csdsit/cs_core/200708/locale/date", O_RDONLY, 0) ERR#2 ENOENT
open("/prod1/csdsit/cs_core/200708/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/prod1/csdsit/cs_access/200708/locale/date", O_RDONLY, 02) ERR#2 ENOENT
open("/prod1/csdsit/cs_access/200708/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/prod1/csdsit/csc_ghis/201006/locale/date", O_RDONLY, 01) ERR#2 ENOENT
open("/prod1/csdsit/csc_ghis/201006/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/prod1/csdsit/csb_addrqa/200708/locale/date", O_RDONLY, 03) ERR#2 ENOENT
open("/prod1/csdsit/csb_addrqa/200708/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/prod1/csdsit/csd_mbnais/201002/locale/date", O_RDONLY, 03) ERR#2 ENOENT
open("/prod1/csdsit/csd_mbnais/201002/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/prod1/csdsit/csd_mbnacf/201011/locale/date", O_RDONLY, 03) ERR#2 ENOENT
open("/prod1/csdsit/csd_mbnacf/201011/locale/date.cat", O_RDONLY, 0177777) ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/C/date", O_RDONLY, 03) ................ ERR#2 ENOENT
open("/usr/lib/nls/msg/C/date.cat", O_RDONLY, 0177777) ... = 3
fstat(3, 0x7b0f7188) ..................................... = 0
fcntl(3, F_SETFD, 1) ..................................... = 0
time(0x40001538) ......................................... = 1301346916
brk(0x40006000) .......................................... = 0
stat("/usr/lib/tztab", 0x7b0f6428) ....................... = 0
open("/usr/lib/tztab", O_RDONLY, 066570) ................. = 6
mmap(NULL, 15912, PROT_READ, MAP_PRIVATE, 6, 0) .......... = 0x7b0c1000
close(6) ................................................. = 0
Mon Mar 28 17:15:16 write(1, "M o n   M a r   2 8   1 7 : 1 5 ".., 20) ....... = 20
EDTwrite(1, "E D T ", 3) .................................... = 3
 2011
write(1, "  2 0 1 1 \n", 6) .............................. = 6
exit(0) .................................................. WIFEXITED(0)
$

 

6 More Discussions You Might Find Interesting

1. SCO

How do I start a thread ?

I am actually trying to find out the following: Using MS Windows, XP PRO, I downloaded an Adaptec SCSi 39160 driver from SCO Unix site. Driver is ad160.btld. I now need to copy this driver to a SCO Unix 5.5 standalone server, via a floppy diskette. I've tried SCO505 Diskimage and it didn't have... (2 Replies)
Discussion started by: mos8001
2 Replies

2. Solaris

ssh connection failed.

When i was connecting the Solaris system by sftp . i got the following error. "Warning: child process (/usr/local/bin/ssh2) exited with code 74." Could any one help, how to fix it ? (1 Reply)
Discussion started by: nag.mi2000
1 Replies

3. Red Hat

VSFTPD Service Failed to Start

Today I have installed VSFTPD but service is failing to start. We have been using standard FTP successful but need to introduce an FTPS option. I have run YUM install VSFTPD and everything appeared to load ok. (If I run rpm - qa | grep vsftpd I get vsftpd-2.0.5-16.el5_4.1 which I... (4 Replies)
Discussion started by: PaulComins
4 Replies

4. Solaris

Internet connection failed on solaris 10

Hi, i am new bie on solaris ,i just installed it on vmware. i tryed to connect to the internet from solaris but it failed. during the installation i ignore the DHCP and i assign a fixed ip address to the host. is that has an impact on internet access ? and if so how to add another interface... (3 Replies)
Discussion started by: Mirsol
3 Replies

5. Programming

Fork thread, Assertion failed. X11.

Hi all. I wrote a program with the Motif Widget Toolkit. It has a button and a scrollbar. When the user hits the button the callback creates a new fork() thread. The new thread sleeps for a while and then changes the position of the scrollbar. It does this in an endless loop. I need the... (2 Replies)
Discussion started by: mghis
2 Replies

6. Programming

Failed SSL Connection Attempt

The below error message I started seeing using Ubuntu 14.04 and was wondering if the forum has seen it because I cant seem much on the net for this: perl -e 'use IO::Socket::SSL qw(debug3);IO::Socket::SSL->new(PeerAddr=>"10.0.0.100",PeerPort=> 443,Proto=>"TCP") or die $!' DEBUG:... (1 Reply)
Discussion started by: metallica1973
1 Replies
All times are GMT -4. The time now is 12:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy