Create (if not exists yet): $HOME/bin
Save the following as $HOME/bin/myardour4
Obvously you should change the DIR_* variables to match your needs.
Make it executable:
Open a terminal window and type:
Hope this helps
sorry, i'm a newbie to unix...
but how do i or rather where do i write scripts that auto start my application e.g. Informix?
in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
hi
i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots
i mean whenever my system starts that application must also start
thanks (3 Replies)
Hi,
I just learnt the shell scripting and got working on that right now. I have one problem.
Here i am having a java application that needs to be start and stop using two shell scripts, i.e., starting the java application using one shell script and stopping the application using another... (1 Reply)
I am using c to send data to a socket with the following commands:
socket = socket(AF_INET, SOCK_STREAM, ptrp->p_proto);
ioctl(socket, FIONBIO, (char *)&on);
connect(socket)
send(socket,data)
shutdown(socket, SHUT_WR);
recv(socket) //ready last of data waiting on the port
//note this is... (3 Replies)
What I'm looking for is best explained with a little example.
#!/bin/bash
gedit
echo "I need this message to appear while gedit is still running, but it appears only then when I close gedit."
Of course most of the times you want the script to wait, but in this case I want to start a new... (5 Replies)
Hello,
Recently, I've started with shell scripting, and decided to write a script for my system backup using tar. When I was dealing with tar execution inside shell script I found this, inside shell we have the following code:
tar $TAR_PARAMS $ARCHIVE_FILE $EXCLUDE $BACKUP_STARTwith... (6 Replies)
I did a search of these forums but couldnt find a suitable resolution.
I am attempting to script a stop and start of an application on AIX.
Such as:
However it has authentication where username and password prompts will appear after running the above command requiring input from a... (2 Replies)
Dear Team,
please help me on the issue "The application was unable to start correctly(0xc0150002).click ok to close the application"
Have created the build using installshield 2012. dll was generated from VS2008. Used 3rd party libraries.Included all the libraries,dll.
This was the first tme... (1 Reply)
Discussion started by: SA_Palani
1 Replies
LEARN ABOUT REDHAT
wbemlogviewer
wbemlogviewer(1M)wbemlogviewer(1M)NAME
wbemlogviewer - start WBEM Log Viewer
SYNOPSIS
/usr/sadm/bin/wbemlogviewer
The wbemlogviewer utility starts the WBEM Log Viewer graphical user interface, which enables administrators to view and maintain log
records created by WBEM clients and providers. The WBEM Log Viewer displays a Login dialog box. You must log in as root or a user with
write access to the rootcimv2 namespace to view and maintain log files. Namespaces are described in wbemadmin(1M).
Log events can have three severity levels.
o Errors
o Warnings
o Informational
The WBEM log file is created in the /var/sadm/wbem/log directory, with the name wbem_log. The first time the log file is backed up, it is
renamed wbem_log.1, and a new wbem_log file is created. Each succeeding time the wbem_log file is backed up, the file extension number of
each backup log file is increased by 1, and the oldest backup log file is removed if the limit, which in turn is specified in the log ser-
vice settings, on the number of logfiles is exceeded. Older backup files have higher file extension numbers than more recent backup files.
The log file is renamed with a .1 file extension and saved when one of the following two conditions occur:
o The current file reaches the specified file size limit.
o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file.
o A WBEM client application uses the clearLog() method in the Solaris_LogService class to clear the current log file.
o A user chooses Action->Back Up Now in the Log Viewer application.
Help is displayed in the left panel of each dialog box. Context help is not displayed in the main Log Viewer window.
The WBEM Log Viewer is not the tool for a distributed environment. It is used for local administration.
The WBEM Log Viewer allows you to perform the following tasks:
View the logs
Set properties of log fiClick Action->Log File Settings to specify log file parameters and the log file directory.
Back up a log file Click Action->Back Up Now to back up and close the current log file and start a new log file.
Open historical log fileClick Action->Open Log File to open a backed-up log file.
Delete an old log file Open the file and then click Action->Delete Log File. You can only delete backed-up log files.
View log record details Double-click a log entry or click View->Log Entry Details to display the details of a log record.
Sort the logs Click View->Sort By to sort displayed entries. You can also click any column heading to sort the list. By default,
the log entries are displayed in reverse chronological order (new logs first).
EXIT STATUS
The wbemlogviewer utility terminates with exit status 0.
/var/sadm/wbem/log/wbem_log
WBEM log file
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbcor |
+-----------------------------+-----------------------------+
wbemadmin(1M), init.wbem(1M), mofcomp(1M), attributes(5)
3 Jan 2000 wbemlogviewer(1M)