Search Results

Search: Posts Made By: sb008
Forum: Solaris 01-26-2012
1,854
Posted By sb008
Build a script which gathers your the volume...
Build a script which gathers your the volume information of your NAS using SNMP.

Check your NAS documentation or NAS MIBs for the OID's to use.

If it would be a Linux box, something like:

...
Forum: Solaris 01-21-2012
1,854
Posted By sb008
SNMP?
SNMP?
Forum: HP-UX 12-27-2011
43,327
Posted By sb008
Methyl, No I can't. Systems were maintained...
Methyl,

No I can't. Systems were maintained by someone else before we got them. No 5.5 sw source bundle present at the system.

Looked at the HP site, but cannot download older versions, at...
Forum: HP-UX 12-23-2011
43,327
Posted By sb008
Thanks Methyl, This is finally some good...
Thanks Methyl,

This is finally some good news.

These systems have been maintained by someone else in the past. I can see DP 5.5 has been on the system once. When we got the systems the DP...
Forum: HP-UX 12-23-2011
43,327
Posted By sb008
Peasant, Thanks again for your reply. ...
Peasant,

Thanks again for your reply.

"omnicreatedl" is to create a backup specification of a specific type. So, this command only uses a subset of all options possible in a datalist file.
...
Forum: HP-UX 12-22-2011
43,327
Posted By sb008
Thanks again for your reply ctsgnb, but I went...
Thanks again for your reply ctsgnb, but I went thru all these manuals. As I mentioned before, these manuals mention at best the existance of the plugin or backup definition files.

No full syntax...
Forum: HP-UX 12-21-2011
43,327
Posted By sb008
Thanks for your reply Peasant. The...
Thanks for your reply Peasant.

The "omnisap.exe" utility or plugin is present on my system. "omnidatalist" and "omnibarlist" are config files, backup specification files. If you define a backup...
Forum: HP-UX 12-21-2011
43,327
Posted By sb008
Looking for some man pages.
Can anyone supply me with the man pages for:

omnidatalist
omnibarlist
omnisap.exe

I prefer the source man pages in nroff format.

A clue about the software bundles which supply these man...
Forum: Solaris 03-23-2010
7,825
Posted By sb008
As far as I know Solaris 10 contains SSH_1.1.3 ...
As far as I know Solaris 10 contains SSH_1.1.3

If you still have your original installation media you should be able to find it as ......../Solaris_10/Product/SUNWsshdr/reloc/etc/ssh/sshd_config
3,024
Posted By sb008
On my Solaris 10 system it did stop executing...
On my Solaris 10 system it did stop executing after the blank line
3,024
Posted By sb008
I'm not a nawk expert, but this stops processing...
I'm not a nawk expert, but this stops processing after a blank/empty line.

I must admit tho, it's an interesting construction. I learned something.
3,024
Posted By sb008
awk '/^[ ]*$/ { print " "; next };/ f / || / fm /...
awk '/^[ ]*$/ { print " "; next };/ f / || / fm / { print $(NF - 3); next }; { print $(NF - 2) }' test.txt
8,075
Posted By sb008
Create a script which restricts "chown" to files...
Create a script which restricts "chown" to files /var/tmp only.

Grant the specific user the right to execute the script you created with root privileges using sudo (sudoers file)
5,384
Posted By sb008
I see 2 options: - Set a different home...
I see 2 options:

- Set a different home directory in /etc/passwd
- Create a softlink from /home/x/.profile to /DATA/home/x/.profile
Forum: Solaris 09-20-2009
2,144
Posted By sb008
Which packages contain?
Cannot find which packages install:

The executable:
sharemgr

The service:
smb/server

Anyone knows?

Background, I want to setup CIFS on ZFS.
Solaris 10.
4,929
Posted By sb008
From the layout of your code it is totally...
From the layout of your code it is totally unclear which "if then else fi"'s belong together. At least it is to me.

Anyway, this is your code (leaving out some parts):


if [ -d $day ]
then
...
Forum: HP-UX 08-31-2009
3,025
Posted By sb008
To avoid this and unexpected results from other...
To avoid this and unexpected results from other commands or options in SAM I suggest you take a Unix course.

Unless you prefer to turn a Unix box into a Windows box.
26,645
Posted By sb008
I assume the intention of all of this is to hide...
I assume the intention of all of this is to hide the arguments for others. The -e option for the BSD ps only always you the see the environment for your own processes (unless you are root ofcourse).
7,009
Posted By sb008
#!/usr/bin/bash MAXIDX=3 IDX=1 DONE=1 ...
#!/usr/bin/bash

MAXIDX=3
IDX=1
DONE=1

while [ ${IDX} -le ${MAXIDX} -a ${DONE} -eq 1 ]
do
if [ `find . -name ufsdump_output${IDX}.txt -exec grep -il "End-of-tape detected" {} \; | wc -l`...
Forum: Solaris 08-28-2009
7,834
Posted By sb008
Am using the most recent driver for the iSCSI...
Am using the most recent driver for the iSCSI adapters and they are fine, otherwise I wouldn't be able bind to the iSCSI targets on the SAN.

The part of the manual you posted basically applies...
Forum: Solaris 08-28-2009
7,834
Posted By sb008
I enable MPxIO using "stmsboot -e". It will...
I enable MPxIO using "stmsboot -e". It will adjust fp.conf and mpt.conf as needed.

When executing "stmsboot -e" it will show a list of multipath-capable controllers.

My iSCSI adapters dont show...
26,645
Posted By sb008
cat noargs.sh #!/usr/bin/bash ...
cat noargs.sh



#!/usr/bin/bash


ps -ef | grep "n[o]args.sh"

echo $VAR1
echo $VAR2

ps -ef | grep "n[o]args.sh"


Execute:
# VAR1="this is the 1st argument" VAR2="this is the 2nd...
8,503
Posted By sb008
cat filter.sh #/usr/bin/bash ...
cat filter.sh


#/usr/bin/bash

INFILE=${1}

IFS=","

cat ${INFILE} | \
while read A B C ID D
do
grep "^${ID}" excludes > /dev/null
if [ ${?} -ne 0 ]
then
echo...
1,461
Posted By sb008
cat atwork.sh #!/usr/bin/bash ...
cat atwork.sh


#!/usr/bin/bash
COWORKER=${1}

echo "Check and see if ${COWORKER} is in"
who | grep -i ${COWORKER} > /dev/null
if [ ${?} -eq 0 ]
then
echo "Yes"
else
echo "No"
fi

...
Forum: Solaris 08-28-2009
15,336
Posted By sb008
Try: stop /SP/console start /SP/console ...
Try:

stop /SP/console
start /SP/console

If that doesn't work:

stop -f /SP/console
start /SP/console
Showing results 1 to 25 of 396

 
All times are GMT -4. The time now is 04:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy