9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a small queries to get the character count
i tried with wc -c and wc -m but its not returend current result
For eg:
wc -c
wc -m
echo "Name" | wc -c
result: 5 but actually it should returned 4
Help me on this to ge the correct one.
Thanks!
----------... (4 Replies)
Discussion started by: siva.pitchai
4 Replies
2. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
3. Solaris
Has anyone managed installing smartmontools on (Sparc) Solaris 10?
how to do it?
thanks. (1 Reply)
Discussion started by: orange47
1 Replies
4. Shell Programming and Scripting
Hello everyone, I'm in need of some assistance. I'm currently enrolled in an introductory UNIX shell programming course and, well halfway through the semester, we are receiving our first actual assignment. I've somewhat realized now that I've fallen behind, and I'm working to get caught up, but for... (1 Reply)
Discussion started by: MrMagoo22
1 Replies
5. Solaris
hi ,
I have a Solaris server which is part of a domain. The IP for this Solaris box is allocated dyanamically by a DHCP. Everytime the solaris box is restarted the IP gets changed. Being an admin what should i do to find the new ip of the Solaris server sitting at my location? Till now i get... (2 Replies)
Discussion started by: BalajiUthira
2 Replies
6. UNIX for Dummies Questions & Answers
In LINUX(CentOS, RedHat) is there a way to have the banner statement appear before the logon instead of after the logon? In UNIX and Windows the banner appears before a person actually logs on, what I'm seeing in LINUX is that it appears after the login(ftp, telnet, SSH).
Thanks (0 Replies)
Discussion started by: ejjones
0 Replies
7. Filesystems, Disks and Memory
I found a document: Bad block HOWTO for smartmontools
My hard drive is Maxtor:
root]# fdisk -lu /dev/hda
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x3f4e3f4d
... (0 Replies)
Discussion started by: justinian
0 Replies
8. Shell Programming and Scripting
Hi,
I have a shell scripting. This will take 7 digit number in each line and add 7 digit number with next subsequent lines ( normal addition ).
Eg:
0000001
0000220
0001235
0000022
0000023
...........
.........
........
Like this i am having around 1500000 records. After adding... (23 Replies)
Discussion started by: thambi
23 Replies
9. UNIX for Dummies Questions & Answers
HI All,
Suddenly don't know what happened to redhat linux 7.2 any program start then itsn't listing while using ps -ef
ex: ./xyz this xyz program pid not showing in ps-ef
Pls let me know what is the reason for the same.
Thanks a lot in advance
Bache (7 Replies)
Discussion started by: bache_gowda
7 Replies
vparutil(1M) vparutil(1M)
NAME
vparutil - get and set SCSI parameters for SCSI controllers from a virtual partition
SYNOPSIS
dev_path
dev_path
dev_path scsi_id] scsi_rate]
DESCRIPTION
The command gets and sets SCSI parameters for SCSI controllers within a running virtual partition. When setting the SCSI parameters using
the option, the virtual partition which owns the specified SCSI controller must be in the down state. If not, the command will fail with
the appropriate error code.
The SCSI parameters for a given SCSI controller must first be set (from the firmware BCH prompt or using the option) before the parameters
can be retrieved using the option.
The command is allowed on Itanium(R)-based platforms for compatibility. No action is taken for the command.
Options
recognizes the following command-line options:
Deletes an entry for the specified SCSI controller at
dev_path from the SCSI table.
Gets the SCSI parameters for the specified SCSI controller at
dev_path.
Sets the SCSI parameters for the specified SCSI controller at
dev_path.
Operands
recognizes the following command-line operands:
dev_path The device path of the SCSI controller.
id The SCSI ID for the specified controller (defaults to 7).
rate The SCSI rate for the specified controller. This parameter can have one of two values: for the corresponding fast wide and
ultra wide SCSI interfaces.
Note
For managing SCSI controllers, use corresponding SCSI utilities. For further information refer to
SECURITY RESTRICTIONS
This command is restricted to processes owned by superuser.
When virtual partition flexible administrative capability is enabled, only a Designated-Admin vPar can set SCSI parameters for SCSI con-
trollers.
EXAMPLES
Set the SCSI ID for controller at 0/0/2/0 to 3 with the fast wide rate:
RETURN VALUE
Successful.
Invalid SCSI controller specification.
Invalid SCSI ID.
Could not communicate with virtual partition monitor.
Virtual partition which owns SCSI controller is not in down state.
Internal firmware call failed.
Other error.
AUTHOR
was developed by the Hewlett-Packard Company.
SEE ALSO
vparadmin(1M), vparboot(1M), vparcreate(1M), vparconfig(1M), vpardump(1M), vparefiutil(1M), vparenv(1M), vparextract(1M), vparmodify(1M),
vparreloc(1M), vparremove(1M), vparreset(1M), vparstatus(1M), vparresources(5), vpartition(5), vpmon(5).
vparutil(1M)