05-09-2005
ksh GUI commands
I have a few scripts that i would like to make into GUI's. Are there scripting commands to make GUI's if so where can i get the list of commands and what they do or if anyone has an example of it. Anything will help, thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to get various portions of strings in my script, but am getting a substitution error. I followed the syntax that was described when I goggled this, but I can't get anything to work.
#! /bin/ksh/
hello="adklafk;afak"
#hello=${hello:3}
hello=${$hello:3}
happy="hey"
echo... (1 Reply)
Discussion started by: anderssl
1 Replies
2. Shell Programming and Scripting
Is there a way to shorten these commands? because this script asks for a password 3 times
scp -p /usr/local/bin/${script_name} ${servername$iy]}://usr/local/bin/
ssh ${servernames} /usr/local/bin/${script_name}
ssh ${servernames} rm -f /usr/local/bin/${script_name}
Basically, I'm creating a... (3 Replies)
Discussion started by: pdtak
3 Replies
3. UNIX for Advanced & Expert Users
Are there any documents available for checking the execution time taken by ksh commands?
My requirement is to fine tune a set of shell scripts having lot of "echos" and "date"s.
Is there a better replacement for the below code?.
echo "ABC process started on `date`"
some code..
echo... (12 Replies)
Discussion started by: engineer
12 Replies
4. Shell Programming and Scripting
I am trying to to this
findCDZfile=`ls -at `find /opt/apps/busobj/bobj/bobje/data/ -name CDZ*.tmp``
and it doesn't seem to like me - is there a special escape character I need to use? (2 Replies)
Discussion started by: cpare
2 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am not able to run below command on linux, it however works on solaris. If anyone knows the reason and a solution for it can you please let me know ?
Linux
-----
$> ksh 'echo hi'
ksh: echo hi: No such file or directory
$> which ksh
/usr/bin/ksh
Solaris
------
$> ksh 'echo... (2 Replies)
Discussion started by: krishnaux
2 Replies
6. Shell Programming and Scripting
I am using SED to edit a file (called file)
the file contains the word "ERROR"
and I want to use SED to:
1. Search for text "ERROR"
If found,
2. Append new line with text "hoi"
I tried:
sed 's/ERROR/ a\hoi' file
sed 's/ERROR/ a\ hoi' file
I get all the time the error
sed:... (7 Replies)
Discussion started by: Alex400
7 Replies
7. Shell Programming and Scripting
Hello Experts,
In my current job I need to upgrade a web GUI to execute Unix commands in a server....I am completely new to programming--So can anyone here help me out with initial steps...
Please notice that statement completely new to programming means-I never did it, SO I might keep on coming... (1 Reply)
Discussion started by: mhadi
1 Replies
8. Shell Programming and Scripting
I need to run few commands in a ksh script sequentially.
Some of the commands are jobs submitted to the server and the consecutive commands are dependent on the completion of the jobs submitted to the server.
It works if i separate the commands into different files like this
#!/bin/ksh... (1 Reply)
Discussion started by: prashob123
1 Replies
9. UNIX for Dummies Questions & Answers
works fine.
echo "Deleting CHOPOne Coreaccess from LAUA..."
$ORACLE_HOME/bin/sqlplus username/password@servername << !
delete from usergrpdtl where username='acker';
commit;
!
but not working with "if statement" even $TMPDIR/adlogin.log exists and greater than 0.
if
then
... (9 Replies)
Discussion started by: lawsongeek
9 Replies
10. Shell Programming and Scripting
I create commands within a pipe and finally want them to be executed instead of being displayed on the screen. What is the last stage in this pipe? I found by guessing that "ksh" is working, but is this the best to use here?
It boils down to this:
echo "print Hello World!"| kshWhat is the... (15 Replies)
Discussion started by: Cochise
15 Replies
advfsd(8) System Manager's Manual advfsd(8)
NAME
advfsd - Starts the AdvFS graphical user interface (GUI) daemon
SYNOPSIS
/usr/sbin/advfsd
DESCRIPTION
The AdvFS daemon, advfsd, is a process required by the AdvFS GUI (dtadvfs). The
advfsd daemon issues commands and obtains system information on behalf of the AdvFS GUI.
The /usr/var/advfs/daemon/socket/hosts.allow file contains a list of all hosts on which the advfsd daemon will allow the AdvFS GUI to run.
This file can be edited to add or remove hosts. Each host name must be on a separate line. For example:
host1
host3
host27
The /usr/var/advfs/daemon/socket/gui.passwd file, if it exists, is used by advfsd to force a dtadvfs user to enter a unique password when
attempting to connect to the host. The first line of this file is the unique password required by the GUI. For example:
guipassword
For security reasons, do not use the password of the root user or any other user; make up a unique name and do not encrypt it.
The advfsd daemon allows Simple Network Management Protocol (SNMP) clients such as NetView or Performance Manager (PM) to request AdvFS
file system information. SNMP clients cannot issue system configuration commands to the advfsd daemon.
The advfsd daemon is automatically started at boot time. Under normal conditions, this daemon does not need to be run manually.
If you do not want to have the daemon started at boot time, move the /sbin/rc3.d/s53advfsd file from its default location to another
directory and run it from that directory. Whenever you want to run the daemon at boot time, move the s53advfsd file back to the
/sbin/rc3.d directory.
The daemon (called an agent in the dtadvfs GUI interface) employs a file, /usr/var/advfs/daemon/disks.ignore, in which you can place the
names of disks that the daemon will ignore when it gathers information about disks on the system. If you use the disks.ignore file, you
can improve the performance of the dtadvfs GUI.
Each line in the disks.ignore file contains the name of a disk (with no directory partition letter) to be ignored by the daemon. For
example, to cause the disks /dev/disk/dsk3d and /dev/disk/dsk2g to be ignored, enter the following names on separate lines in the file:
dsk2
dsk3
You cannot ignore an LSM volume by including the LSM volume name in the disks.ignore file; you must list the disks from which the LSM vol-
ume is built. To ignore a complete disk group, you must list all the disks in it. Because all partitions on the listed disks will be
ignored, unexpected results may occur if a disk has partitions belonging to more than one disk group.
The disks.ignore file is processed each time the disks are checked. This means that if a disk fails or becomes unavailable, you can add the
disk name to the disks.ignore file and the daemon will ignore it. Once the disk is available, remove the entry from the file. There is no
need to stop the daemon.
For more information, see the GUI interface reference page , dtadvfs(8).
RESTRICTIONS
Only one advfsd daemon can be running on a system at a given time. If a second advfsd daemon attempts to start, it will fail.
You must be the root user to use this utility and you must register the Advanced File System Utilities license.
FILES
The script that starts the advfsd daemon at boot time. The advfsd message catalog. The SNMP data files. The sh scripts used by the dae-
mon to execute commands. The advfsd daemon executable. The advfsd daemon message log file. Remove or copy this log to another location
periodically to prevent the log from becoming too large. The security file that lists all hosts with permission to connect to the advfsd
daemon with the AdvFS GUI (dtadvfs). The advfsd password file. The file that lists all disks for the advfsd daemon to ignore when col-
lecting statistics about resources.
SEE ALSO
advfs(4), dtadvfs(8)
advfsd(8)