One of the needed features which is not accessible via ClearCase GUI is: how to get the list of files that are located in a view but not under source control.
Thursday, November 19, 2009
Tuesday, November 17, 2009
Linux: runing app in daemon/background mode
Every cool guy knows that launching command with ampersand ('&') at the end leads to the background (let's say, console non-blocking) command processing. For sure, we talk about the honest Linux world. Meanwhile, there is a task which is widely used in a day-to-day IT life:
- log in to a Linux server via ssh
- launch some application, script which 1) is not designed as a daemon, 2) produces output to std out/ std error:
./myApp.sh &
- log off from the server.
Tuesday, November 3, 2009
How to determine process id of java application
There is a classic task - stop or restart some java application on the server where several java apps are running. Common solution is to use "ps" on Linux or Process Explorer on Windows. But there is another one, more handy and useful option: use jps command which is bundled in JDKthe JAVA_HOME/bin:
I prefer to do it this way:
I prefer to do it this way:
jps -mlv | grep some_text_to_identify_app
Subscribe to:
Posts (Atom)