9 More Discussions You Might Find Interesting
1. Red Hat
Hi All,
I have a java process which is showing high virtual memory utilization in client server. But the same process is showing comparitively lesser virtual memory consumption. I understand that virtual memory shown is not of much importance for the general user in normal condition, my client... (2 Replies)
Discussion started by: mritusmoi
2 Replies
2. Shell Programming and Scripting
I am using HP-UX,KSH
$ jobs -l
+ 19377 Running nohup ksh cat_Duplicate_Records_Removal.ksh </dev/null >/dev/null 2>&1 &
$ ps -p 19377 -fl
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
401 S catmgr 19377 19491 ... (1 Reply)
Discussion started by: TomG
1 Replies
3. Programming
Hello
I would like to create an application with communication between processes,
application tightly coupled, have you please an idea about an API or
a tool that allows me to generate such application?
Thank you so much (11 Replies)
Discussion started by: chercheur857
11 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I am facing problem in launching a application with the help of a daemon process. Actually the application is based on command line that reads various commands for controlling the application from the console and accordingly executes those commands. The application always interact with... (3 Replies)
Discussion started by: gopallinux
3 Replies
5. Shell Programming and Scripting
Not sure if it makes a difference but "foo" is a java process. The start time reported by various flavors of ps seems to be flopping back and forth by a minute.
I have many (a few hundred) "foo" like processes which tend to be somewhat unstable and get restarted somewhat frequently, I wrote a... (2 Replies)
Discussion started by: jstrangfeld
2 Replies
6. Shell Programming and Scripting
Hi All,
Here is my script:
sleep_time=`echo "9.6 * $num_servers"|bc| cut -d. -f1`
if ; then sleep_time=3600;fi
### Allow the compare script to kick in after 1 hour at the least
logger "Sleeping for $sleep_time seconds ...Will call compare.sh thereon" $act_log
sleep $sleep_time
#sleep... (3 Replies)
Discussion started by: ntgobinath
3 Replies
7. Shell Programming and Scripting
Dear All,
I need a help.
i have an mapped drive application. I want to start this application using cron. I have downloaded cron setup from the below link:
www.kalab.com/freeware/cron/cron.htm
And it crontab file works fine.
But if i want to start an application. Then process... (2 Replies)
Discussion started by: vasanth.vadalur
2 Replies
8. Programming
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies
9. Shell Programming and Scripting
Hi ,
Good day people. I want to know if i can shut down a particular service that runs in windows from solaris through a script .
Scenario : we have a distributed environment where we want to shut down a service that runs under windows through a shell script in solaris , is this kinda action... (3 Replies)
Discussion started by: vivsiv
3 Replies
Tk_SetAppName(3TK) Tk Library Procedures Tk_SetAppName(3TK)
__________________________________________________________________________________________________________________________________________________
NAME
Tk_SetAppName - Set the name of an application for ``send'' commands
SYNOPSIS
#include <tk.h>
CONST char *
Tk_SetAppName(tkwin, name)
ARGUMENTS
Tk_Window tkwin (in) Token for window in application. Used only to select a particular application.
CONST char *name (in) Name under which to register the application.
_________________________________________________________________
DESCRIPTION
Tk_SetAppName associates a name with a given application and records that association on the display containing with the application's main
window. After this procedure has been invoked, other applications on the display will be able to use the send command to invoke operations
in the application. If name is already in use by some other application on the display, then a new name will be generated by appending ``
#2'' to name; if this name is also in use, the number will be incremented until an unused name is found. The return value from the proce-
dure is a pointer to the name actually used.
If the application already has a name when Tk_SetAppName is called, then the new name replaces the old name.
Tk_SetAppName also adds a send command to the application's interpreter, which can be used to send commands from this application to others
on any of the displays where the application has windows.
The application's name registration persists until the interpreter is deleted or the send command is deleted from interp, at which point
the name is automatically unregistered and the application becomes inaccessible via send. The application can be made accessible again by
calling Tk_SetAppName.
Tk_SetAppName is called automatically by Tk_Init, so applications don't normally need to call it explicitly.
The command tk appname provides Tcl-level access to the functionality of Tk_SetAppName.
KEYWORDS
application, name, register, send command
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWTk |
+--------------------+-----------------+
|Interface Stability | Uncommitted |
+--------------------+-----------------+
NOTES
Source for Tk is available on http://opensolaris.org.
Tk 4.0 Tk_SetAppName(3TK)