Hi,
I have a file which has some 50 hosts, I want to login to each host using ssh and execute any command. I am using fork function in perl. I am able to login to each host and execute the command in the hosts paralelly, but it spawing/forking 50 processes at a time.
It will consume the cpu utilization if so many processes open at a time.
I'm trying to write a command that gives me some information about a linux system. The command should be a one liner. It should represent the total amount of interrupts, processes and context-switches.
I'm quite new to the linux world, so this isn't an easy thin for me.
Hi Folks,
I have 2 perl scripts and I need to execute 2nd perl script from the 1st perl script in WINDOWS.
In the 1st perl script that I had, I am calling the 2nd script
main.pl
===========
print "This is my main script\n";
`perl C:\\Users\\sripathg\\Desktop\\scripts\\hi.pl`;
hi.pl ( this script I am calling from the firstperlscript.pl)
====
#!perl -w
print "hii Gir
Apologies if this is off topic - it concerns the relative efficiencies of running I/O-heavy Perl/Java scripts in parallel on a Ubuntu system.
I have written two simple versions of a file copy script (Perl and Java) - see below.
libcdt4 libcommon-sense-perl libencode-locale-perl libextutils-depends-perl libextutils-pkgconfig-perl libfile-listing-perl libfile-which-perl libfont-afm-perl libgnome2-0 libgnome2-canvas-perl libgnome2-gconf-perl libgnome2-perl libgnome2-vfs-perl libgnome2-wnck-perl libgnomecanvas2-0 libgnomecanvas2-common libgnomeui-0 libgnomeui-common libgoo-canvas-perl libgoocanvas-common libgoocanvas3 libgra
I am doing server testing and intentionally trying to crash a virtual Solaris server by using all memory. Server has a ulimit of 15 GB (several hundred GB of total system/swap memory). Is there a straight forward way of doing this using a shell/Perl script?
Hello, Is there something from this listgetlive:amd64 (0.59-1), libemail-mime-encodings-perl:amd64 (1.313-1), libnet-ssleay-perl:amd64 (1.36-1), libevolution:amd64 (2.30.3-5), libxml-sax-perl:amd64 (0.96+dfsg-2), libio-stringy-perl:amd64 (2.110-4), libgtkhtml-editor0:amd64 (3.30.3-1), libxml-sax-expat-perl:amd64 (0.40-1), libxml-parser-perl:amd64 (2.36-1.1+b1), libhtml-parser-perl:amd64 (3.66-1),
Can anyone tell me how to export a variable from one perl CGI script to another perl cgi script when using a redirect.
Upon running the login.pl the user is prompted to enter user name and password. Upon entering the correct credentials (admin/admin) the user is
redirected to welcome page.
My requirement is, the welcome page should display the username.
My Linux Platform: CentOS 5.8
Install Package: perl-PDF-API2
I downloaded the tpm package from the link below:
http://pkgs.org/centos-5-rhel-5/flexbox-i386/perl-PDF-API2-2.019-1.noarc...
I get a warning of Failed dependencies when running rpm install command
# rpm -Uvh perl-PDF-API2-2.019-1.noarch.rpm
warning: perl-PDF-API2-2.019-1.noarch.rpm: Header V3 DSA signature: NOKEY, key I