The following seems to be pretty simple (but obviously not for me as I am not a Perl expert) ...
I want to collect the output from remote hosts and store it into a variable.
I must not use any CPAN modules in this environment.
What I have so far is the following:
open(my $ssh, "| ssh -T...
If I understand your problem correctly (i.e. looking for files which have a specific length and consist only of numbers) this would be a possible solution - in this example desired length is 4 characters
$ ls
1 1234 2 23456 3456 45 45678 567 bl23 bluh
12 12345 234 3...
Hi,
with cfgadm you will have to see the changer AND the drives.
A few more things to check:
What does "sgscan" look like?
Do you have device files for your drives under /devices?
Do you have entries in your /etc/path_to_inst for your drives?
How do /kernel/drv/sgen.conf, /kernel/drv/st.conf...
I think for your purpose it might be necessary to write a script around the "bprestore" command with parameters (source path, destination path, rename file):
to restore data to an alternate path on the same client, you must create a rename file and then use the rename file in the bprestore...
Hi Dan,
a directory is only a folder for a LIST of files that are more or less logically related - therefore the NAMES are grouped together in that specific directory. Or in other words: directories are just metadata to make things more organized (no matter where they are physically)
So if you...
Just came across the problem to change the factory default root password for the ILOM. Normally a piece of cake but sometimes the ILOM behaves unexpectedly - never had this problem before (see the commands below): I could not set the password and I could not reset the SP either - and now...
Up to Solaris 9 /usr/sbin/patchadd was a script. All return codes were listed in the comment section at the beginning. With Solaris 10 /usr/sbin/patchadd now is an ELF executable and it has different return codes. The man page says using the -t flag maintains the patchadd return codes from the...
The sticky bit is set on directories (the /tmp file system is a typical example for that). Only the owner of a file in a directory with sticky bit set or the owner of the directory itself can rename, delete or move files in that directory - if the sticky bit is not set for a directory everybody...
After the creation of the archive you have to specify the location of it in the jet template - if you have an existing client template do:
# /opt/SUNWjet/bin/make_template -f -T myclient myclient flash
Adding product configuration information for
+ flash
Updating base_config template...
The log files are placed in the /usr/openv/veritas/netbackup/logs directory.
Be careful ... NetBackup logs can be extremely large (depending on the verbose level - see below).
For each NetBackup process a subdirectory must be created on a NetBackup server.
On a media server you should create...
just for your info a CPU panic can occur running VirtualBox on Solaris 10/x86 systems and is described here:
http://forums.virtualbox.org/viewtopic.php?p=41834&sid=bf5c813d9c00119c03fd2b937db54e8f
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.