Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: caveman_piet on 16 February 2002, 03:03
-
Anyone know if this is available and where to get it - or something similiar?
have used this effectively for tracing systems before.
Running rh 7.1.
Tx in advance.
PS and the unix command "pg" - that available?
only 'cause I'm used to it.
-
What's truss? And as far as "pg" use "more" or "less". You can also set an alias so you have your pg command "alias pg=less".
-
"more" and "less" are more or less the same as
"pg" - an alias is obvious - but then it is not
exactly the same with the same functionality??
"truss" used on solaris boxes.
as per Sun.
"The truss (trace system calls and signals) command displays useful process-related information:
System calls performed, their arguments and return values
Signals received by the process
Machine faults incurred by the process"
So unless one have worked on a sun box - it is possible that the command will be unknown.
-
"more" and "less" do basically the same thing as "pg" but I personally prefer them to pg. That said, I am pretty sure you can still find a copy of "pg" source out there (or at least a clone).
And I *should* have known what truss is since I spent most of the last 5 years working on Solaris.
-
use "strace" for system calls and signals under linux, never used truss so I don't know if it's the same but it works gr8 for me (http://smile.gif)