12-07-2014
Quote:
Originally Posted by
srkmish
Guys, need your help here. As said, i want to build a monitoring tool to fetch data from linux servers and display it on a GUI Screen made with Java.
So, the tool will have tabs say Tab 1 - Check DB Connection ( Use the data returned by Plink command to ping the db server and display the health as either red or green)
Tab 2 - Check output for last 100 lines sysout of a JVM ( Run the plink command to fetch the last 100 lines and display it on screen )
So, im assuming these simple things will be possible via plink rite? which cannot be done via putty.
Any help is appreciated guys
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a .sh script which was running fine on all the UNIX Servers (AIX, SunSolaris). The script requires two mandatory parameters and many optional parameters. Now at a different client place who are on a Windows Server, when I try to execute the script through MKS Toolkit, there are couple of... (5 Replies)
Discussion started by: madhunk
5 Replies
2. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
is there any tool where I can scan my netwrk and get all types of Unix servers? (2 Replies)
Discussion started by: fsmadi
2 Replies
4. UNIX for Dummies Questions & Answers
Dear all
i am new to linux/debian
i run my application on the computer...during startup in bashrc i wrk wid dis script to invoke startx..i do this above command and it works perfectly...
if && ; then
startx -- -br 1>/dev/null
exit 0
fi
i use winscp for file transfer and putty for... (1 Reply)
Discussion started by: venkat_330
1 Replies
5. Shell Programming and Scripting
Hi All,
I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help.
Also How to enable syntax colouring in... (6 Replies)
Discussion started by: Sooraj_Linux
6 Replies
6. Solaris
Hi,
I would appreciate some help.
I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console.
The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Discussion started by: giles.cardew
6 Replies
7. Windows & DOS: Issues & Discussions
Hi
Is there any command which we can try connecting unix from windows without using any third party tool.
Thanks in advance
KVB (9 Replies)
Discussion started by: bikky6
9 Replies
8. Shell Programming and Scripting
Please share the doc asap as very urgently required. (1 Reply)
Discussion started by: 24ajay
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Friends,
So we have an internal link in my project. We generally login into it with our ids , then enter some generic values to check whether the functionality is working fine. If it is fine, the webpage delivers a successful preview or else throws error.
What i want to do is write a... (3 Replies)
Discussion started by: srkmish
3 Replies
LEARN ABOUT HPUX
mrmfetchiconliteral
MrmFetchIconLiteral(library call) MrmFetchIconLiteral(library call)
NAME
MrmFetchIconLiteral -- Fetches an icon literal from a hierarchy
SYNOPSIS
#include <Mrm/MrmPublic.h>
Cardinal MrmFetchIconLiteral(
MrmHierarchy hierarchy_id,
String index,
Screen *screen,
Display *display,
Pixel fgpix,
Pixel bgpix,
Pixmap *pixmap);
DESCRIPTION
The MrmFetchIconLiteral function fetches an icon literal from an MRM hierarchy and converts the icon literal to an X pixmap.
hierarchy_id
Specifies the ID of the UID hierarchy that contains the specified icon literal. The hierarchy_id was returned in a previous call
to MrmOpenHierarchyPerDisplay.
index Specifies the UIL name of the icon literal to fetch.
screen Specifies the screen used for the pixmap. The screen argument specifies a pointer to the Xlib structure Screen, which contains
the information about that screen and is linked to the Display structure. For more information on the Display and Screen struc-
tures, see the Xlib function XOpenDisplay and the associated screen information macros.
display Specifies the display used for the pixmap. The display argument specifies the connection to the X server. For more information
on the Display structure, see the Xlib function XOpenDisplay.
fgpix Specifies the foreground color for the pixmap.
bgpix Specifies the background color for the pixmap.
pixmap Returns the resulting X pixmap value. The function allocates space for this pixmap. The application is responsible for managing
the allocated space. The application can recover the allocated space by calling XmDestroyPixmap.
RETURN
This function returns one of the following status return constants:
MrmSUCCESS
The function executed successfully.
MrmBAD_HIERARCHY
The hierarchy ID was invalid.
MrmNOT_FOUND
The icon literal was not found in the hierarchy.
MrmWRONG_TYPE
The caller tried to fetch a literal of a type not supported by this function.
MrmFAILURE
The function failed.
RELATED
MrmFetchBitmapLiteral(3), MrmOpenHierarchyPerDisplay(3), MrmFetchLiteral(3), MrmFetchColorLiteral(3), and XOpenDisplay(3).
MrmFetchIconLiteral(library call)