01-01-2010
How much of RAM is in the server? Are you running LDOMs?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm a complete novice at Unix and need to create a script that does the following...
checks to see if an application server is running.
If the app is running then print 'Available'
Else print 'Unavaliable'
exit from scriopt
I have no idea where to start. I'd be very grateful... (0 Replies)
Discussion started by: duglover
0 Replies
2. UNIX for Dummies Questions & Answers
Ive written a java based "webscraper to rss feed" which resides on my college web space when I execute the app from putty it creates the feed and sets the permissions perfectly.I then wrote a php script to execute the app on demand from the browser using
...
system("java -cp... (1 Reply)
Discussion started by: gleesonger
1 Replies
3. Shell Programming and Scripting
Hi I need a help for below :
I am running an application XXXX , and when it starts i am passing a file name called "connect.spb" and after the application connects to the server i am sending filename "accept.spb" as a parameter.
DL385:$ ./XXXX
This is XXXX (Reproducer by Order or RelaY)
... (1 Reply)
Discussion started by: srkelect
1 Replies
4. Shell Programming and Scripting
Hi,
is there any command to findout that which application is using the particular port.
or whether any port is occupied with the specfic process id ? (4 Replies)
Discussion started by: mail2sant
4 Replies
5. Shell Programming and Scripting
Is it possible in unix to write a script that could determine when a particular application is running or not ? (3 Replies)
Discussion started by: zapper222
3 Replies
6. UNIX and Linux Applications
I want to install executable file(Demo.bin) on vMA4.0 virtual machine using ssh. Same can be installed on all other Linux/Unix box. but when I am trying to run it on vMA,I am getting the following error--
Could you please advise me how to approch this problem and how to resolve it? (4 Replies)
Discussion started by: smartgupta
4 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: MrZehl
5 Replies
8. Shell Programming and Scripting
Hello
i have problem passing ctrl+C into shell script
this script will run application and return value but never ends and stay running.
i tried trap and not working at all
the command should look like this :
sarm pcsp -s CHG_M_P1
i want something to stop this command after... (9 Replies)
Discussion started by: mogabr
9 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
i am trying to find whether nginx is installed or not as well process is running or not on my centos server.
For that i am searching for the nginx configuration file nginx.conf based on that i am printing the ouput.
Below script i am using.
var=$(find / -name "nginx.conf" !... (1 Reply)
Discussion started by: balu1234
1 Replies
10. UNIX for Beginners Questions & Answers
I want a really easy thing to happen, I want the bash to open a picture with QuickPictureViewer (qpv) and then some seconds or after a if function with some specific value that this process is terminated. The problem is, that the bash opens the picture and the script doesn´t go on (because the... (2 Replies)
Discussion started by: SasuGamer
2 Replies
LEARN ABOUT SUNOS
asadmin-version
asadmin-version(1AS) User Commands asadmin-version(1AS)
NAME
asadmin-version, version - displays theversion information
SYNOPSIS
version [--user admin_user] [--password admin_password] [--host localhost] [--port 4848] [--secure |-s] [--passwordfile filename]
[--terse=false] [--echo=false] [--interactive] [--verbose=false]
version displays the version information. If the command-line cannot communicate with the administration server with the given user/pass-
word and host/port, then the command-line will retrieve the Version locally and display a warning message. If the user option is not
entered, the command-line will retrieve the version locally and display a warning message. The warning message will not be displayed if
--terse option is entered on the command line.
OPTIONS
--user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script.
--echo setting to true will echo the command line statement on the standard output.
--interactive prompts you for the required options that are not already specified.
--verbose displays version information in detail.
Example 1: Using remote mode to display version
asadmin> version
Java 2 Platform Enterprise Edition 1.4 Application Server
Example 2: Using remote mode to display version in detail
asadmin> version --user admin --password adminadmin
--host bluestar --port 4848 --verbose
Java 2 Platform Enterprise Edition 1.4 Application Server (build A021930-126949)
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-help(1AS)
J2EE 1.4 SDK March 2004 asadmin-version(1AS)