07-19-2011
Now it works, thank you for your help!!!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can i tell how long my network cards have been connected to the network for. (1 Reply)
Discussion started by: manwithaphone
1 Replies
2. Shell Programming and Scripting
I am fairly new to Unix (Sun OS) scripting with Ksh, and I could use a little help troubleshooting my script. When I run it, I get the error "if unexpected" on the function setYear. If I comment out the setYear function, I get the error "for unexpected" on the function sendEmails. This leads me... (8 Replies)
Discussion started by: mharley
8 Replies
3. UNIX for Dummies Questions & Answers
Hi
I am trying to do a network install of Solaris 10 08_07 onto a Sunfire T2000. I have configured all my network-boot-arguments on the client server (named sundb1). I have installed my image of Solaris on my install server (sun1).
But when I try to install using
# boot net -s
I get the... (0 Replies)
Discussion started by: Bobby76
0 Replies
4. Shell Programming and Scripting
In my ksh script, if the conditions of a if statement are true, then do nothing; otherwise, execute some commands.
How do I write the "do nothing" statement in the following example?
Example:
if (( "$x"="1" && "$y"="a" && "$z"="happy" ))
then
do nothing
else
command
command
fi... (3 Replies)
Discussion started by: april
3 Replies
5. Shell Programming and Scripting
Hi All,
I am using Unix ksh script.
I need to insert values to a table using the o/p from a slelect statement.
Can anybody Help!
My script looks like tihs.
---`sqlplus -s username/password@SID << EOF
set heading off
set feedback off
set pages 0
insert into ${TB_NAME}_D... (2 Replies)
Discussion started by: nkosaraju
2 Replies
6. Solaris
Hi.
I have a Solaris 10 server that's taking about 20secs to respond to telnet or ftp commands. Has anyone ever seen something like that? Can you tell me where to start troubleshooting please? I logged in and did a prtstat, but nothing is jumping out as an issue. (8 Replies)
Discussion started by: bbbngowc
8 Replies
7. AIX
I am running Oracle databases and recently have been facing slow IO response. I know in 11g one can run calibrate_IO from within DB and it would have given me some data for IO, but DB is 10g. Is there any tool available which can give me max MBPS, max IO requests per second system can handle and... (1 Reply)
Discussion started by: clifford
1 Replies
8. AIX
I have an Equallogic SAN that I connect to from AIX (as well as Windows)
I had configured the connection and created the volumes and filesystems and all was working great.
Then one day, no communication between the SAN and the AIX (I can ping though) Anything I do on the AIX box at this time... (2 Replies)
Discussion started by: oldmanjoe
2 Replies
9. Shell Programming and Scripting
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies
10. Shell Programming and Scripting
Here is a code snippet using whiptail , it fails to complete giving me long list of options available for whiptail .
That is great, but how do I determine which of the current opinions is wrong?
I did tried inserting comment (#) into options and it just did not work.
Deleting the option... (9 Replies)
Discussion started by: annacreek
9 Replies
LEARN ABOUT OPENSOLARIS
fiocompress
fiocompress(1M) System Administration Commands fiocompress(1M)
NAME
fiocompress - file compression utility
SYNOPSIS
/sbin/fiocompress -c [-m] [-b block_size] input_file output_file
/sbin/fiocompress -d input_file output_file
DESCRIPTION
The fiocompress utility is a file compression tool that works together with the dcfs(7FS) file system to perform per-file compression. You
can use fiocompress to decompress a compressed file or mark a compressed file as compressed, causing automatic decompression on read. The
primary use of fiocompress is to compress files in the boot archive.
Note that this utility is not a Committed interface. See attributes(5).
OPTIONS
The following options are supported:
-b block_size
Specify a block size for compression. The default block size is 8192.
-c
Compress the specified file.
-d
Decompress the specified file.
-m
Mark the compressed file for automatic decompression on read. Can be used only in conjunction with -c.
EXIT STATUS
0
The command completed successfully.
-1
The command exited due to an error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr |
+-----------------------------+-----------------------------+
|Interface Stability |Private |
+-----------------------------+-----------------------------+
SEE ALSO
boot(1M), bootadm(1M), dcfs(7FS), ufs(7FS), attributes(5)
NOTES
This compression/decompression utility works only with files stored in a UFS file system.
There is no obvious way to determine whether a given file is compressed, other than copying the file and comparing the number of disk
blocks of the copy against the original.
SunOS 5.11 10 Dec 2008 fiocompress(1M)