Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 02-21-2007, 11:27 AM   #1
Registered: Nov 2005
Posts: 52

Rep: Reputation: 15
Help with simple script?


Can someone help me to write a small script?

This is on Solaris 5.6 and Solaris 10.

I want the script to be run on both machines. Both machines have netscape browser installed.

I want the script to launch netscape, kill it, and then record the amount of time (using the time command) to see how long it took. I'm doing this to find out the performance improves on Solaris 10 (based on faster hardware, memory, etc).

Old 02-21-2007, 11:51 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
As you describe it, your script is going to measure how fast you can kill a process, not how long that it takes to start a browser. You'll need some callback from netscape that tell it has finished starting and possibly loading a page if you want to measure that too. I don't know if this is easy to implement.
Perhaps monitoring the process CPU load will allow to deduce the launch is done (i.e. load going back to zero).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables (with masq) troubleshooting, very simple script attached script and logs. xinu Linux - Networking 13 11-01-2007 05:19 AM
simple script help!! Please kb100 Programming 12 08-26-2006 04:39 AM
Need help with a simple script shell script WindowBreaker Linux - Software 2 12-15-2005 01:45 PM
simple script hso_sof Linux - Software 2 08-25-2003 01:09 PM
Simple C Shell script is not so simple elconde Programming 2 09-17-2001 12:53 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:25 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration