10 More Discussions You Might Find Interesting
1. AIX
Hi all,
when I issue a lspv <hdisk>, I get
TOTAL PPs: 7199 (1842944 megabytes)
When I issue a getconf DISK_SIZE /dev/<hdisk>, I get
1048576
Where do those additional ~800 GB come from the output of lspv.. anyone an idea?
The volume is an EMC LUN provided by a VIOS and... (2 Replies)
Discussion started by: zaxxon
2 Replies
2. Shell Programming and Scripting
I have PERL program( which uses diff modules inside the program) and running it using installed PERL ( PERL 5.8.8) on unix box.
Now I want to run these programs on a diff unix box , but, they don't want to install PERL .
I never compiled PERL before . what are my options to run this program... (2 Replies)
Discussion started by: talashil
2 Replies
3. Shell Programming and Scripting
Hi, guys, i have a script i inherited from a coworker but i'm not perl savy. The script works but i would like it to work better. I want to run this command
./ciscomgrtest.pl -r "show version" -h hosts.router
and have the script goto each router in the hosts.router file and run the command... (2 Replies)
Discussion started by: whipuras
2 Replies
4. Shell Programming and Scripting
I'm trying to execute something like this:
exec perl -i -pe 's/\015/\012/g' '${file}'
in my expect script and I get:
error "invalid command name \"perl\".
however, if I run
perl -i -pe 's/\015/\012/g' "/Users/Shared/menu-items.txt"
directly in my terminal, it runs fine. I'm an... (4 Replies)
Discussion started by: dpouliot
4 Replies
5. Shell Programming and Scripting
Hi ,
we have a issue in server, we are running a perl script to connect our clients, but we are not able to connect, every time we are getting the
"Invalid argument error"
Even i checked all the necessary perl modules are i installed in this server,
#create the listen socket
my... (2 Replies)
Discussion started by: anishkumarv
2 Replies
6. UNIX for Dummies Questions & Answers
I have just installed OpenBSD on a 333MHz PPC iMac G3. It has a 6GB HDD that has been partitioned as 1GB MacOS 8.5.1, 3GB MacOS X 10.3.9, 2GB OpenBSD 4.8. I now need to install a bootloader so that my computer can recognize the OpenBSD partition at startup. I have been trying to install... (0 Replies)
Discussion started by: t04st3r
0 Replies
7. Shell Programming and Scripting
I have a Perl script, that does a system call with rsh to a remote machine.
#!/usr/bin/env perl
system ("rsh remote-machine echo 99");
And I get the following:
stty: standard input: Invalid argument
99
I've tried replacing the system call with below, but I still get the same stty... (1 Reply)
Discussion started by: slchin
1 Replies
8. UNIX for Advanced & Expert Users
Hello all!
I'm trying to compile the GD module for Perl on Redhat AS 4.
It fails when trying to link to libjpeg. The machine is a AMD Opteron 64 machine so I figure it's some kind of 32 vs 64bit interference in the lib dir?
Any idéas?
CPAN.pm: Going to build L/LD/LDS/GD-2.41.tar.gz
... (0 Replies)
Discussion started by: Esaia
0 Replies
9. UNIX for Dummies Questions & Answers
I wish to programmatically determine whether a solaris system is 32-bit or 64-bit. Investigation on the web suggested that the following commands were the right way to test this:
# isainfo -kv
# getconf LONG_BIT
Strangely, on all three of the solaris systems I have access to, isainfo... (2 Replies)
Discussion started by: nosrednayduj
2 Replies
10. Shell Programming and Scripting
Hi,
I am new to perl.
I am trying to write a perl program that will print out following output.
1:1
2:1,2
3:1,2,3
4:1,2,3,4
5:1,2,3,4,5
6:1,2,3,4,5,6
Script need to be written in for loop.
Please help
thanks
-Lalit (1 Reply)
Discussion started by: email-lalit
1 Replies