Displaying 20 results from an estimated 439 matches for "truss".
Did you mean:
trust
2005 Sep 11
8
DTrace vs truss
G''Day Folks,
I''ve finally typed up my classic DTrace demo, which I use to introduce
people to DTrace (I delivered this at SOSUG#1),
http://www.brendangregg.com/DTrace/dtracevstruss.html
Here I create a fault and show the difficulty in analysing it using
previous tools. Then I compare the impact of analysing the problem
using both DTrace and truss. DTrace wins (a lot!).
Thanks to the PAE guys from Adelaide for suggesting to run sar -c, it''s
the icing on the cake. :)...
2006 Oct 30
3
Why does gethostbyname_r appear to leak?
I am running a very simple multithreaded program (TestThread.C) which calls gethostbyname_r in several threads. My analysis of this program with both truss and DTrace suggest that is has a small leak. However, if I alter the program to have many more threads and run for a lot longer it never runs out of memory and does not carry on growing. Can anybody explain what I am missing in my analysis or if there are some bugs in both Dtrace and truss that I a...
2000 Mar 13
4
ssh works only as root
...ace/local/lib/libz.a
-rwxr-xr-x 1 bin bin 85600 Mar 10 17:26 /space/local/lib/libz.so
-rwxr-xr-x 1 bin bin 85600 Mar 10 17:26 /space/local/lib/libz.so.1
-rwxr-xr-x 1 bin bin 85600 Mar 10 17:26 /space/local/lib/libz.so.1.1.3
Also, when I run ssh as root as
truss -e -o truss.out ssh moni
I get
grep libz truss.out
open("/space/local/lib/libz.so", O_RDONLY) = 4
I do not know how to trace ssh when as nonroot though. I get
truss -e -o truss.out ssh moni
ld.so.1: ssh: fatal: libz.so: open failed: No such file or directory
truss: c...
2003 May 09
5
Hacked?
This morning, I noticed in my security email, that my entire /usr/bin
directory had setuid diff's set on them.
I think I've been hacked. So I installed chkrootkit from ports and ran
it. It showed not infected for everything,
except NETSTAT. NETSTAT showed infected...
I ran chkrootkit for another machine (at my office), and it showed not
infected for everything.
Both machines are
2006 Oct 31
0
6262586 truss should print data written/read for sendmsg/recvmsg
Author: ja97890
Repository: /hg/zfs-crypto/gate
Revision: 4e8bdca5612d8e39ecb94db81ca5272fe9872d89
Log message:
6262586 truss should print data written/read for sendmsg/recvmsg
Files:
update: usr/src/cmd/truss/actions.c
update: usr/src/cmd/truss/expound.c
2002 Feb 18
3
Problem with Sol8 and LDAP
Hi, i am experiencing a problem with ssh 3.0.2.p1 running on Solaris 2.8.
Everything works fine with local users (i.e. with local passwd and shadow
entries). With LDAP authenticated users, i obtain:
treno at tao[!] -> ssh -v
Segmentation Fault (core dumped)
The probem is the same with 2.x releases.
Thank you,
Roberto Bertucci
2008 Jan 30
2
Truning on pid$target probes hangs Solaris
...nning process works just fine. (ie)
dtrace -n pid1234::malloc:entry''{@=count()}'' has no problem.
I tried to look at Parallels during the hang using pid provider in
OS X and I see it is doing a bunch of ioctl''s on /dev/vm-main
From within Solaris if I start dtrace under truss, then I find the last
thing truss was able to record is a bunch of preads. I have the
output from truss if anyone is interested. (its 180K)
This could not have happened at the worse time. I was before
an important ISV showing off DTrace and how stable it is and
it hangs on me!
Any help on debuggi...
2008 May 21
9
Slow pkginstalls due to long door_calls to nscd
Hi all,
I am installing a zone onto two different V445s running S10U4 and the
zones are taking hours to install (about 1000 packages), that is, the
problem is identical on both systems. A bit of trussing and dtracing has
shown that the pkginstalls being run by the zoneadm install are making
door_call calls to nscd that are taking very long, so far observed to be
5 to 40 seconds, but always in times divisible by 5 seconds (5, 10, 15,
etc.), leading to the thought that it is one or more name servi...
2015 Apr 05
2
nutdrv_qx hangs after send: QS
On Apr 4, 2015, at 8:53 PM, Richard Flint <richard.flint at gmail.com> wrote:
> I have used the truss command as directed. I have attached both the driver output and the last few sections of truss output leading to the hang. Both outputs end at the CTRL+C i pressed when i was forced to end the processes.
>
> Hope this is helpful. Please bear with me if i didn't run it with the right opti...
2003 Jun 13
7
sshd refusing connections problem
...20:28:01 shell sshd[72401]: Received SIGHUP; restarting.
Jun 13 20:28:02 shell sshd[41220]: Server listening on 0.0.0.0 port 22.
Jun 13 21:06:49 shell sshd[42072]: Accepted publickey for scott from 68.160.236.249
Obviously, I faked the IP for "bob".
I consoled in this time and hooked up truss to the server PID. I was
running:
while true ; do /usr/bin/ssh shell.example.com; done;
Thinking that if it were a file handle problem, I might accidentally
get in if I caught it as an active user logged out. It was closing the
connection as soon as it was made (TCP handshake). I have, umm, lo...
2009 Oct 25
21
zfs inotify?
OK, so this may be a little off-topic, but here goes:
The reason I switched to OpenSolaris was primarily to take advantage of ZFS''s
features when storing my digital imaging collection.
I switched from a pretty stock Linux setup, but it left me at one
disadvantage. I had been using inotify under Linux to trigger a series of Ruby
scripts that would do all the basic ingestion/setup for
2009 Feb 04
4
5.1p1 and X11 forwarding failing
...OpenSSH 5.1p1 on Solaris 9. The authentication
is via PAM if that matters.
# grep X11 sshd_config | sed '/^#/D'
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
#
Now I attach to my 'master' sshd and follow all children
to look for any evidence of "DISPLAY":
# truss -f -a -e -p 14923 2>&1 | grep DISPLAY
I then fire up ssh -X from a client machine, login, and
truss reports nothing.
If I perform the EXACT same test against stock Solaris 9
sshd (also authenticating against PAM), DISPLAY shows up
(in truss and in the shell) and X11 forwarding works fine....
2010 Apr 01
2
Samba 3.0.22 - slow performance - Really urgent help
Hi Samba world,
Have been struggling with this for the past 10 days, we are running Samba
3.0.22 on VCS zone, we have end users saving files
onto Samba mapped drive, and complained that it 5mins to save 300 files,
now it takes 30 mins. There is recently a change in the
topology.
Before
Enduser ----------- samba mapped -------------- server (local
attached storage)
2009 Jun 08
4
[caiman-discuss] Can not delete swap on AI sparc
Hi Richard,
Richard Robinson wrote:
> I should add that I also used truss and saw the same ENOMEM error. I am on a 4Gb system with swap -l reporting
>
> swapfile dev swaplo blocks free
> /dev/zvol/dsk/rpool/swap 181,1 8 4194296 4194296
>
> and I was trying to follow the directions for increasing swap here:
> http://www.solarisinter...
2011 Apr 16
0
rsync: read error: Connection reset by peer and - writefd_unbuffered failed
Hello,
i386 Platform; FreeBSD v. 7.2 O/S
I am experiencing repeated rsync failures, rsyncing from a remote site to
which I have no access.
>From the client side I can run truss to collect system calls
truss -faedD -o truss.out -s 64 /usr/local/bin/rsync -avvv --contimeout=1200
--port=33444 ftp.wwwxxx.org::ftp . >> rsynclog &
>From truss.out =>
44755: 4492.350089813 0.000022629
read(4,"\M-4\M-4(\M-^\M-j\M^F\^\$\M^]\M^[\M-O2)TX]rbX\^]\M-{\M^B\M-sT&qu...
2007 Jul 30
1
Performance problem with utime() on Solaris 8
...ing our Samba installation from 2.2.5 to 3.0.25b, I found that
Samba's performance was severely degraded. A 1 gig test file with random text
in it would take about 2:15 to copy using the old 2.2.5 smbd, but the same file
would take 5-6 minutes to copy with a freshly compiled version.
I ran truss on smbd while the file copy was taking place, and found that the
utime() call was taking up most of the system time. I then ran truss on the
2.2.5 smbd, and found that there were no utime() calls at all. I went to the
archives, downloaded and built version 2.2.12, and found that the performanc...
2015 Apr 05
0
nutdrv_qx hangs after send: QS
...is a try - any idea how can I tell NUT to build
against openusb instead of libusb?
Regards,
Richard
On Sun, Apr 5, 2015 at 2:28 AM Charles Lepple <clepple at gmail.com> wrote:
> On Apr 4, 2015, at 8:53 PM, Richard Flint <richard.flint at gmail.com> wrote:
>
> I have used the truss command as directed. I have attached both the driver
> output and the last few sections of truss output leading to the hang. Both
> outputs end at the CTRL+C i pressed when i was forced to end the processes.
>
> Hope this is helpful. Please bear with me if i didn't run it with the
&...
2009 Feb 12
9
df -k takes too long only at random times
How do I find out why df -k is taking soo long to respond only sometimes?
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
2001 Jan 08
2
fatal: PRNG initialisation failed
...f the ssh programs I get
"fatal: PRNG initialisation failed -- exiting"
Now, I have looked through the mailing lists and have seen some mention
that this indicates it can't open the ssh_prng_cmds file, which
entropy.c also seems to indicate the problem is. However, this snippet
from truss would indicate it opened it fine and started reading it:
open("/usr/local/etc/ssh_prng_cmds", O_RDONLY) = 3
brk(0x000E6DB8) = 0
brk(0x000E8DB8) = 0
fstat64(3, 0xFFBEECD8) = 0
brk(0x000E8DB8)...
2000 Nov 29
4
RPC exception: "Who are you failed (dce / rpc)"
Hello,
with OpenSSH_2.3.0p1 running in HP-UX 11.00 I noticed that the "SD
commands" (like "swcopy") produce the following error when being logged
in via SSH:
ERROR: RPC exception: "Who are you failed (dce / rpc)" 11/29/00
11:20:18 MET
Ideas?
Regards,
Ulrich
P.S. Not subscribed to the list