l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Aug 15 21:53

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Need X Windows performance monitoring help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Need X Windows performance monitoring help


begin Eric Nelson <en77@attbi.com> 
> We are developing an embedded system which uses Java and X Windows.  
> It doesn't have a VGA.
embedded and java seems like an oxymoron to me.   :)

> When we run some code on a desktop with lots of ram and vga, we get 
> pretty good performance, but on our embedded system, performance is 
> poor.
> There are several factors which may contribute to this problem: 
> swapping of the libraries or X Server itself,latency in the X 
> Server, processor speed, Java, the video driver, etc.  So maybe we 
> need more ram, or a faster video driver, or to lock X into ram, or 
> simply go to a faster clock.
> My question is, how can we time stamp events,

what do you mean by "time stamp"?  depending on what you mean, i would
either recommend using the "time" command or the "top" command.

> or get a trace of memory

i'm not exactly sure what a memory trace is, either.   but if it helps,
take a look at /proc/meminfo and see if that shows what you want.

if that's not what you want, take a look at top.

> and swap usage,

ok, that i know.   try:

   cat /proc/swaps

to get how much swap is being used.  if you want to know what processes
have been swaped to disk, it's good old "ps".  see "man ps" and do a
search on "swap".

i saw rod's reply.  as usual, he makes total sense.  :)


GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.