* top on OSF?
@ 1994-07-21 14:50 Timo Lahti
1994-07-22 14:18 ` Ralf Eckstein
1994-07-22 16:28 ` Matt Thomas
0 siblings, 2 replies; 3+ messages in thread
From: Timo Lahti @ 1994-07-21 14:50 UTC (permalink / raw)
I ran into few problems trying to modify top for OSF1 / V2.0.
I couldn find a file supporting porting to OSF anywhere, if anyone out
there knows where to find the machine dependent source for OSF I'd
appreciate if you could tell me the location. Anyways that would be the
easiest solution.
I've also tried to make the porting file by myself starting from
bsd43 version but again there seems to be lots of difficulties. What I
need to know is the process related information like pids and cpu usages
and so on. For example getting struct proc would help me a lot. I tried to
use ioctl-function without any success, all I get is error code for bad
file descriptor.
Process information is located in /proc directory in multiple
files named by pids of running processes. Man page for ioctl tells me
to open the file for both reading and writing, but these files can't be
opened for writing of course. And just with reading permissions I get
the error.
Another way is to nlist function to read the /vmunix file but
this doesn't get me anywhere either. Reading is no problem but the values
I get makes no sense, field values for proc structure are mainly located
in unreadable area.
So if anyone has read proc, prpsinfo, prstatus or utask structures in
OSF with success, would you please let me know how it is done.
--Timo
------------------------------------------------------------------------------
Timo J Lahti timol@sa-cgy.valmet.com local:250 office:2011
There is absolutely no warranty for timol; type "clear" for details.
timol 1.0, Copyright 1970 Mother & Father, Inc.
------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: top on OSF?
1994-07-21 14:50 top on OSF? Timo Lahti
@ 1994-07-22 14:18 ` Ralf Eckstein
1994-07-22 16:28 ` Matt Thomas
1 sibling, 0 replies; 3+ messages in thread
From: Ralf Eckstein @ 1994-07-22 14:18 UTC (permalink / raw)
timol@sa-cgy.valmet.com (Timo Lahti) writes:
> I ran into few problems trying to modify top for OSF1 / V2.0.
>I couldn find a file supporting porting to OSF anywhere, if anyone out
>there knows where to find the machine dependent source for OSF I'd
>appreciate if you could tell me the location.
You can find it on ftp.eng.umd.edu:/pub/alpha, the file name
is alpha-top-3.3beta.tar.gz. It's working fine with OSF1 V1.3.
Ralf
--
--- __
Ralf Eckstein \/ eckstein@tp2.physik.uni-erlangen.de
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: top on OSF?
1994-07-21 14:50 top on OSF? Timo Lahti
1994-07-22 14:18 ` Ralf Eckstein
@ 1994-07-22 16:28 ` Matt Thomas
1 sibling, 0 replies; 3+ messages in thread
From: Matt Thomas @ 1994-07-22 16:28 UTC (permalink / raw)
In article <30m1vi$6va@oasys.sa-cgy.valmet.com>, timol@sa-cgy.valmet.com (Timo Lahti) writes:
|>
|> I ran into few problems trying to modify top for OSF1 / V2.0.
|>I couldn find a file supporting porting to OSF anywhere, if anyone out
|>there knows where to find the machine dependent source for OSF I'd
|>appreciate if you could tell me the location. Anyways that would be the
|>easiest solution.
From http://www.digital.com/info/misc/pub-domain-osf1.txt.html
atop --> file://ftp.eng.umd.edu/pub/alpha/alpha-top-3.3beta.tar.gz
Description: A port of top 3.3beta to the alpha. Top is a system display
utility, that shows the top CPU consuming processes, as well as allowing
you to manipulate those processes.
Submitted by: Anthony Baxter
--
Matt Thomas Internet: thomas@lkg.dec.com
U*X Networking WWW URL: http://ftp.dec.com/%7Ethomas/
Digital Equipment Corporation Disclaimer: This message reflects my
Littleton, MA own warped views, etc.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-07-22 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-21 14:50 top on OSF? Timo Lahti
1994-07-22 14:18 ` Ralf Eckstein
1994-07-22 16:28 ` Matt Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox