01-26-2008
Strange issue
I have created a server monitor program in Java that connects to servers via SSH and constantly refreshes the new server load every 3 mins. The problem is that even though it is a Java app running shell commands to get the load info, the commands still appear in 'history'.
The question is.. is there any way to return this information without having the command saved in the command history? Sorry if this is a ridiculous question, my Unix knowledge is limited.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I am comparing two numbers, but it gives strange results:
My Code:
if
then
echo "True"
else
echo "False"
fi
This code gives False for the follwoing comparison
where as True for the following:
Any reason for this? Both Should have given False...
I am using... (9 Replies)
Discussion started by: shihabvk
9 Replies
2. Cybersecurity
hi there , :cool:
um facing a problem with my root passwd
i want to set my root password and when i do i get the following ::
#
# passwd
passwd: Changing password for root
New Password:
Re-enter new Password:
passwd(SYSTEM): They don't match.
Please try again
New Password:... (6 Replies)
Discussion started by: badrali
6 Replies
3. UNIX for Advanced & Expert Users
hi again
i'm running a centos 4.x box with sendmail and openwebmail. I had a weird situation where users couldn't not get authenticated using a pop mail client but but were able to aunthenticate using the openwebmail webmail client. I looked through the logs and didn't see anything strange. I... (0 Replies)
Discussion started by: mcraul
0 Replies
4. Solaris
Hi ,
running solaris 10 on t5120 and i see ILOM and ALOM (SC) interfaces working fine earlier and suddenly they are responding strangely,
First thing , I can connect fine to ILOM or ALOM but then console -f just hangs..
resetsc error :
I do not really want to poweroff and poweron... (13 Replies)
Discussion started by: upengan78
13 Replies
5. Web Development
Hi all,
I recently changed the name of my hostname from 'abc123' to 'abc456' (as an example).
I then added a user in my mysql database with the new host and removed references to the old users and hostname.
The strange thing is though, a process using the database still uses the old... (1 Reply)
Discussion started by: muay_tb
1 Replies
6. AIX
hi all
we upgraded hacmp(powerha) from 5.2 to 5.4 recently .
during the failover testing, we found a strange network issue. after standby node took service ip address (172.15.100.8) online at standby NIC, we were able to log in the standby node by telnet 172.15.100.8 which stays at... (1 Reply)
Discussion started by: rs6000er
1 Replies
7. Solaris
Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following.
Could not chdir to home directory /home/<homedir>: Permission denied
/bin/sh: Permission denied
I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies
8. UNIX for Dummies Questions & Answers
Hello All,
PC: CuBox-i (*i.MX6) Mini-PC
OS: openSUSE 13.1 (Bottle) (armv7hl)
Kernel: 3.14.14-cubox-i
# uname -a
Linux CuBox-HQ 3.14.14-cubox-i #1 SMP Sat Sep 13 03:48:24 UTC 2014 armv7l armv7l armv7l GNU/LinuxSo I've been having this random issue happen on this PC where a few strange... (12 Replies)
Discussion started by: mrm5102
12 Replies
9. Shell Programming and Scripting
more works.sh
#!/bin/ksh
{
print "From: reportgenerator@myserver.com"
print "To: randomguy@myfirm.com"
print "MIME-Version: 1.0"
print "Content-Type: text/html"
print "Subject: Disk Report"
print "<body>"
print "<table border=1>"
... (3 Replies)
Discussion started by: mohtashims
3 Replies
10. AIX
I just intalled java8_64.jre and .sdk respectively
installp -agXYd . Java8_64.jre Java8_64.sdk 2>&1 | tee installp.log
Worked like a champ. Now I see this--
jeff@server:/usr> ls -l | grep java
drwxr-xr-x 9 bin bin 512 Sep 22 2010 java14
drwxr-xr-x 7 bin bin ... (9 Replies)
Discussion started by: jeffs42885
9 Replies
BJDWP(1) General Commands Manual BJDWP(1)
NAME
bjdwp - Command line USB Blackberry Java Debug Wire Protocol
SYNOPSIS
bjdwp [-h][-p pin][-P password][-v] address port
DESCRIPTION
bjdwp is a program that supports the Java Debug Wire Protocol over USB, which enables debugging of Java programs directly on your Black-
berry.
Support is experimental, and development is focused primarily on the BlackBerry Storm.
OPTIONS
-p pin PIN of device to talk with. Only needed if you have more than one Blackberry connected at once.
-P password
Simplistic method to specify device password. In a real application, this would be done using a more secure prompt.
-v Dump verbose protocol data during operation.
-h, --help
Show summary of options.
ARGUMENTS
The following arguments are required, in order to provide a socket where the JDWP server will listen for connections from the debugger.
address
Most often 'localhost' but can be any IP or hostname on the machine running bjdwp.
port Port to listen on.
EXAMPLES
Start the server and the USB connection to the device:
bjdwp localhost 8000
Then start your java debugger:
jdb -connect com.sun.jdi.SocketAttach:hostname=localhost,port=8000
AUTHOR
bjdwp was initially written for the Barry project by Nicolas VIVIEN. This manual page was written by Chris Frey.
SEE ALSO
http://www.netdirect.ca/software/packages/barry
September 29, 2009 BJDWP(1)