Sponsored Content
Top Forums Shell Programming and Scripting Need Script to Use CPUs on a HPUX server to simulate Workload Manager on HPUX. Post 302288865 by cpolikowsky on Wednesday 18th of February 2009 07:20:57 AM
Old 02-18-2009
Hi Jim - I ended up using something similar.

Code:
#!/sbin/sh
for i in 1 2 3 4 5 6 7 8 9 10
do
        while `true`
        do
        false
        done
done

I agree not the best idea but I needed to test.

Thank you.

Last edited by Don Cragun; 10-05-2016 at 07:31 PM.. Reason: Add CODE tags.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Finding server Model on HPUX

Hi i am just wondering is there a command in hp that you can find the server model on hpux? Thanks (4 Replies)
Discussion started by: lnineill
4 Replies

2. UNIX for Dummies Questions & Answers

Configuration of email on HPUX server

I am working in an developer 2000 based application where backend is Oracle9i in unix environment. My application has the functionality if email generation. But I am not able to test this functionality as my HPUX server is not configured for emails. Please let me know the steps for configuring mail... (1 Reply)
Discussion started by: sharmavr
1 Replies

3. UNIX for Dummies Questions & Answers

Need an advise Backup HPUX Server while online

I will perform a "fbackup -f /dev/rmt/0m -i /". Can any body advise me on the following: 1. Is this a full backup of the entire file system or like the entire image of the server. Is it ok to do a backup while the server is online. 2. If it is not advisable to do a backup while the server is... (2 Replies)
Discussion started by: real-chess
2 Replies

4. HP-UX

Can't start the cpp server in hpux

Hello, I have writtern the makefile and successfully produce the server exe. But, it doesn't run in hpux11.11 server. compile and link option: /opt/aCC/bin/aCC -Aa -Wl,+s /cc/smc3/root/development/auto_activation/AA_global/obj/smc3/aa_config.o... (0 Replies)
Discussion started by: onlyforforum
0 Replies

5. HP-UX

how to execute script from my desktop windows xp to my HPUX server?

Good day, i would like to get some advice, how will i execute my script in hp ux servers, and how to configure rsh and rexec. thanks (2 Replies)
Discussion started by: kenshinhimura
2 Replies

6. HP-UX

Ignite issue on HPUX server

Hi All, I am getting below error while igniting(restoring image) on 2470 server. i tried with different images it is giving same error. please help me out to resolve this issue * Making VxFS filesystem for "/usr/aethos/snss/suppimpapp1", (/dev/vg00/rsuppimpapp1). *... (3 Replies)
Discussion started by: Prabhu H
3 Replies

7. HP-UX

pwage-hpux-T for Trusted HPUX servers

I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email. original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies

8. HP-UX

Problem in Configuring kerberos Server on HPUX

Hi, I am getting this error during kerberos server setup in HPUX 11.31 : kdb_create: unknown LDAP backend error while adding master entry to the database ps -ef|grep ldap root 3905 1 0 13:11:36 ? 0:00 /opt/ldapux/bin/ldapclientd Unable to find out the meaning of this... (1 Reply)
Discussion started by: Amit Kulkarni
1 Replies

9. HP-UX

Hitachi Device Manager Agent for HPUX

Hi there, i am looking to download the Device manager agent for HPUX 11.31. Where we can find it. I've tried on google and Hitachi web sites and spent several hours, i just couldn't find anything at all. Please help. Thank you very much! (8 Replies)
Discussion started by: lamoul
8 Replies

10. HP-UX

HPUX 11.23 - server is crawling

OK HPUX masters I need help. I have a HPUX 11.23 server that I am using as a Ignite server that services two HPUX services for backups only. The other day I noticed that our Make Net Recoveries were failing. Upon attempting to login to the server SSH and could not I then tried to ping and could... (6 Replies)
Discussion started by: waytec
6 Replies
Test::Regression(3pm)					User Contributed Perl Documentation				     Test::Regression(3pm)

NAME
Test::Regression - Test library that can be run in two modes; one to generate outputs and a second to compare against them VERSION
Version 0.05 SYNOPSIS
use Test::Regression; ok_regression(sub {return "hello world"}, "t/out/hello_world.txt"); DESCRIPTION
Using the various Test:: modules you can compare the output of a function against what you expect. However if the output is complex and changes from version to version, maintenance of the expected output could be costly. This module allows one to use the test code to generate the expected output, so that if the differences with model output are expected, one can easily refresh the model output. EXPORT
ok_regression FUNCTIONS
ok_regression This function requires two arguments: a CODE ref and a file path. The CODE ref is expected to return a SCALAR string which can be compared against previous runs. If the TEST_REGRESSION_GEN is set to a true value, then the CODE ref is run and the output written to the file. Otherwise the output of the file is compared against the contents of the file. There is a third optional argument which is the test name. ENVIRONMENT VARIABLES
TEST_REGRESSION_GEN If the TEST_REGRESSION_GEN environment file is unset or false in a perl sense, then the named output files must exist and be readable and the test will run normally comparing the outputs of the CODE refs against the contents of those files. If the environment variable is true in a perl sense, then model output files will be overwritten with the output of the CODE ref. AUTHOR
Nicholas Bamber, "<nicholas at periapt.co.uk>" BUGS
Please report any bugs or feature requests to "bug-test-regression at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Regression>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. testing of STDERR The testing of stderr from this module is not as thorough as I would like. Test::Builder::Tester allows turning off of stderr checking but not matching by regular expression. Handcrafted efforts currently fall foul of Test::Harness. Still it is I believe adequately tested in terms of coverage. SUPPORT
You can find documentation for this module with the perldoc command. perldoc Test::Regression You can also look for information at: o RT: CPAN's request tracker <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Regression> o AnnoCPAN: Annotated CPAN documentation <http://annocpan.org/dist/Test-Regression> o CPAN Ratings <http://cpanratings.perl.org/d/Test-Regression> o Search CPAN <http://search.cpan.org/dist/Test-Regression/> ACKNOWLEDGEMENTS
Some documentation improvements have been suggested by toolic (http://perlmonks.org/?node_id=622051). Thanks to Filip GraliXski for pointing out I need to test against output of zero length and providing a patch. COPYRIGHT &; LICENSE Copyright 2009-10 Nicholas Bamber. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information. perl v5.10.1 2010-08-29 Test::Regression(3pm)
All times are GMT -4. The time now is 07:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy