Hi, I'm working on a java applet, and I was wondering where the heck System.out was going in Ubuntu/OpenSUSE. In windows, I just pull up jconsole, but I've not found this in Ubuntu/OpenSUSE.
Thanks.
...
What I'm looking for is a tool that, given a root source file, outputs a graph of file dependencies (with some customization thrown in, of course, like --maxdepth, etc.)
...
Say I created a linux user account called john. John wants to create a variable called MYVAL with the value Hello World in the linux shell (bash)
MYVAL = 'Hello World'
John does not want to redeclare this variable every time he logs in. Is there some linux config file or start up file that john can declare this variable in such that it...
I'm trying to do the following:
$OOOPYTHON DocumentConverter.py .odt .pdf
for all of the ODT files i have in a particular document and looking for the right syntax to convert all odts to pdfs.
Thanks!
Jake
...
Hi all,
though I haven't worked with sockets professionally, I find them interesting. I read some part of Unix Network Programming by Richard Stevens (considered to be the Bible I suppose as it is referred by everyone I ask) but the problem is the examples require a universal header unp.h which is a PIA to use.
Can some of you suggest ...
I tried to insert a text to the first line
of a file using sed. I do this inside a bash
script.
But why it hangs at the line of sed execution?
#! /bin/bash
# Command to execute
# ./mybashcode.sh test.nbq
nbqfile=$1
nbqbase=$(basename $nbqfile nbq)
taglistfiletemp="${nbqbase}taglist_temp"
taglistfile="${nbqbase}taglist"
./myccod...
Hi,
cmake advises to use out-of-source builds. While in general I like the idea I find it not comfortable to navigate from out-of-source sub directory to the corresponding source directory. I frequently need the code to perform some actions with code (e.g. grep, svn command etc.).
Is there an easy way in shell to navigate from out-of-s...
I want to check if my string contain one or more asterisk.
I have tried this :
if [[ $date_alarm =~ .*\*.* ]]
then
...
fi
It worked when I launch directly the script, but not if this script is called during shutdown (script installed in run level 0 and 6 via update-rc.d)
Any idea, suggestion ?
Thanks
...
his this is database admin
I have a Jboss server with oracle database When I enter the Arabic fonts throung the application the database is not accepting throungh the application ; the arabic charters are also defined ; the operating system is Linux with oracle 10g and Jboss server with j2ee application
...
I'm looking for suggestions on new development system from some programmers that have more experience, but let me give some background on why.
We need a new development server for
running scripts on large feeds
Speed is not a concern, it just needs to
finish
The scripts are not ran often,
and are typically coded very quickly
(not o...
I have a java CLI script that converts rgb names to hexcodes (e.g. 144 132 146 becomes #908492). However, I want to be able to run it from any terminal. I put a bash script in the same folder so it could run the file:
The bash script is simple enough, just:
#!/bin/bash
java rgb2hexConv $1 $2 $3
However, when I run the code through th...
The lackluster response here made me wonder this.
I've been saddled with a device (Analog Devices 525x) that (from the data sheet, pg 16):
disables the I2C interface during the internal [EEPROM] write cycle.
That doesn't seem fair, as in "I'm getting off the couch now, so don't use it for a while because I let one rip in the s...
I'm trying to update our installer so a user can simply double-click on a file and have all the dependencies and our software installed easily. This is a suite of applications that will are deployed on a clean Ubuntu 8.04 installation. I have investigated making a .deb file, but listing the dependencies doesn't work because there is no I...
Has anyone attempted using perlembed in Mono on Linux?
Here is the link: perlembed
Here is my first attempt at the DllImport signatures:
private const string PERL_LIB = "/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so";
[DllImport(PERL_LIB, EntryPoint = "perl_alloc", SetLastError = true)]
public static extern IntPtr Allo...
Hi,
Im getting into kernel work for a bit of my summer research. We are looking to make modifications to the TCP, in specific RTT calculations. What I would like to do is replace the resolution of one of the functions in tcp_input.c to a function provided by a dynamically loaded kernel module. I think this would improve the pace at w...
Hi ,
Please point me the tools or the way to monitor which thead in running in the millisecond level? Thanks.
Suppose I have 3 thread running , and I want infomation like below:
0 - 20ms thread1
20 - 40ms thread2
40 - 50ms thread1
50 - 70ms thread3
NOTES: I perfer to solve this problem without hacking into kernel.
EDIT :
...
In linux, is there a built-in C library function for getting the CPU load of the machine? Presumably I could write my own function for opening and parsing a file in /proc, but it seems like there ought to be a better way.
Doesn't need to be portable
Must not require any libraries beyond a base RHEL4 installation.
...
Is there a best-practice for scalable http session management?
Problem space:
Shopping cart kind of use case. User shops around the site, eventually checking out; session must be preserved.
Multiple data centers
Multiple web servers in each data center
Java, linux
I know there are tons of ways doing that, and I can always come up wi...
how to test io performance on linux
...
I'm looking for a tool that can intercept the SOAP requests generated by an application.
Is there such a tool or should I just use a packet sniffer?
...