Determine which programs are currently running on OS
Hi,
Is there any way in java so that I can determine whether a particular program is currently running on the OS, or not?
Thanks,
Vimal
Using the NT resource kit there is a command called 'pulist'.
It provides less detail that 'ps' on unix.
There is also a unix toolset available at
http://virtunix.itribe.net/mystuff.html
It provides a 'ps' command.
Similar Messages
-
How do you determine which programs or processes run following a reboot?
How do you determine which programs or processes run following a reboot? Also when you reboot Mac tries to reopen anything running before the reboot. Is there any way to turn off that functionality?
10.7 Lion
dadpope wrote:
How do you determine which programs or processes run following a reboot?
Login items
Follow the instructions in this article.
http://support.apple.com/kb/PH4333
Also when you reboot Mac tries to reopen anything running before the reboot. Is there any way to turn off that functionality?
System Preferences > General
Section: Number of recent items
Uncheck the box for "Restore windows when quitting and re-opening apps". -
Hello,
I am trying to apply for a job on line and I am receiving the following message "
t has been determined that you are currently running a "Popup Blocker". In order to continue, please allow this site from within your "Popup Blocker" preferences
How do I correct this??
Thanks!Open Safari preferences, click on the Security icon in the toolbar, uncheck the pop-up blocker option.
-
Get which programs are still running
Hi gurus i need to to make a report, in this report i have to introduce the name of one program or transaction and i have to
show if this program is istill running or not, any idea?try
This should work : BP_JOB_STATUS_GET
CALL FUNCTION 'TH_WPINFO'
EXPORTING
SRVNAME = SERVER_INFO-SERVER
TABLES
WPLIST = LOC_WPLIST
EXCEPTIONS
OTHERS = 1. -
How to check which apps are currently running? C3
Anybody out there...When there is not enough memory to open a new app it gives you the opportunity to stop currently running background apps. Is there a way to check and/or stop apps before you run out of memory?
Phone: C3
Thanksunfortunately there is no way to launch that "task killing" app from anywhere from the phone, it just starts itself when you run out resources.
-
Code to determine which jobs are being run in the database
Hello
I'm using Oracle 9
If it is possible I would like to write an SQL statement that determines what DBMS_JOB's are stored and being run in the database.
Thanks
Dougyou can try this code:
SELECT r.sid,
r.job,
r.this_date,
r.this_sec,
SUBSTR(what,1,40) what
FROM dba_jobs_running r,
dba_jobs j
WHERE r.job = j.job;hope this helps. -
What tasks are currently running?
I have a system that involves quite a few CF programs that
may run for several minutes. These are graphics generators, large
file processors, as well as some lengthy database queries. Windows
Performance Monitor often shows two or three CF tasks running with
several more queued up.
Is there any utility for displaying WHICH tasks are currently
running? Maybe something in JRun?
Thanks,
DaveThe easiest way is this:
Log into the CFIDE
Click to Debugging and Logging
Click Log Settings
Check "Enable logging for scheduled tasks "
(Submit to save the setting)
Click Log Files
Select scheduler.log
Any entries in there that started but haven't yet finished
would be the ones still running.
If you are on UNIX-based system, you can tail -f
$CFROOT/logs/scheduler.log (much easier if you have that option),
but you still have to make sure you enable the logging, as stated
above.
HTH;
&laz; -
How can I determine which programs/files are using disc space?
A question for the professionals:
What program on my MacBook Pro can I run to determine which programs and files are taking up the percentage of disc space? I am running at 72 gb, which is great, but I need to know what is using up the rest of it. Thank you in advance to any helpful solutions.
Matthewactivity monitor for RAM (its already in your utilities folder) http://support.apple.com/kb/HT1342. OmniDiscSweeper for hard drive http://www.omnigroup.com/products/omnidisksweeper/ (needs to be downloaded)
-
How can I determine which jobs are running on NT?
Hello,
How do I determine which processes are in execution on an NT box from a JAVA
application? I figure it must involve runtime exec'ing some run32dll
program, but which one?
TIASearch microsoft.com, or MSDN. That isn't anything to do with Java Programming.
-
How to detect which applications that are currently running
Hi there. Is there a way to detect which applications that are currently running on my machine? Is there a class that can get all of the running applications, you know, like the taskmanager.
//peterWhat you are asking for is indeed not possible through "100% Pure Java," because each operating system that runs Java Virtual Machines can handle the running processes differently (think about the differences between a process scheduler for, say, Windows NT and your Palm Pilot, both of which could have a JVM running).
That means there are essentially 2 avenues to persue for this:
1. Use an external "user-level" command (like ps on a UNIX-like OS) and parse the results (this is what people are referring to when they say "Runtime.exec()". There have been some nice exec() frameworks posted around here before, so I'd recommend searching around a bit for more info.
I also found this link (from Google) which apparently shows the javadocs where someone has attempted something similarly on the Linux platform before...that's all I know about it:
http://www.cougaar.org/software/9.2/javadoc/api/org/cougaar/tools/server/system/linux/LinuxProcessStatusReader.html
2. Use a JNI (Java Native Interface) call to an externally provided C function to get the info you need. Here's a link to the Java 1.4 JNI information:
http://java.sun.com/j2se/1.4/docs/guide/jni/
Hope this helps! (But it's not going to be a quick and easy problem to work with)...
-J -
Determining which services are associated with which programs
In the Services Preferences, Services submenu, how does one determine which services are associated with which programs?
Danged if I know! I just took a guess and enabled the ones I wanted, then tried what came up to see which program launched to do it. Some are easy: "Copy to Tex-Edit Plus" will obviously use the program Tex-Edit Plus. But I have no idea which program owns "New Document Containing Selection" and since I want TextEdit to handle that sort of thing I unchecked it, and simply checked "New TextEdit Window Containing Selection" because that's obviously TextEdit. I left "New Window with Selection" checked, and then tried it, and TextWrangler launched. OK, I do sometimes use it, so I left it checked. But it would be nice if it declared itself in the Service list so you could tell what program is going to do which thing. However, that is not Apple's fault--it is the fault of the application, someone just didn't bother to write a proper line for the system to display that would tell the user what application it is. That is probably because in the "old" Services menu items were arranged in folders by application, so there was no special need to have the service itself declare to whom it belonged. Perhaps this situation will change as applications are updated for Snow Leopard.
I happen to know that the Services are declared to the system by the application, and the place this comes from is the Info.plist of the application, which is inside the application bundle. You can open this and check the plist: the service will be listed in the NSServices section in the NSMenuItem default field. Not something most people would ever want to do, you have to open the bundle then open the plist with Property List Editor.
Meantime, I think trial and error is the only way to tell where the service is coming from. I would be delighted if someone knows otherwise.
Francine
Francine
Schwieder -
How can i determine which devices are used at the moment?
Hi all,
I am designing an interface with LabVIEW for uing agilent devices. My work colleagues will use this interface. I want to determine which devices are used at the moment and if I determine used device, i will add automatically device names to interface's main vi. So all my work colleagues can see on the program which devices are used by another colleague. This devices are connected with GPIB. İ want to learn is there any function on Instrument I/O palette.
Thanks,
Omer
Solved!
Go to Solution.Hi Omer,
so those devices are connected to the PC with a GPIB connection. Will your collegues run several DAQ programs at the same time?
GPIB-devices being controlled by PC don't have a "in use"-signal. They wait for commands, execute them and send an answer. When you start to control them using two programs they may respond to both programs, mixing up settings/measurement values and so on.
That being said: In MAX you can see all devices connected to your GPIB port. You could scan the GPIB port using VISA commands in your program. You might even try to access a certain device by it's VISA alias. I really don't know if you will get a "device nopt available" error message when that VISA alias is in use by a different program - but you might do a quick test on your own…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to determine if reports are being run/used
I have two Crystal report environments. One being version 7.5 and the other is version 10. Between them, there is a very large number of reports (1000's) that accumulated over the years. I am looking for a way to be able to tell which reports are being run and actually used. By used I mean actually being pulled from the repository. I do not know all the specific details of the environments and not a CR expert so it is hard for me to provide too much more details. Any help or suggestions on how to try to determine which reports are being used is greatly appreciated.
You mention; "Crystal report environments"
and
"pulled from the repository"
Question is; what is the Crystal report environment in your definition? E.g.; what is the actual product? It could be what used to be called Crystal Info (v 7), Crystal Enterprise (v. 10). Or it could be an app written by someone in your organization. Or it could be an app written by a 3rd party.
In any case, getting answers for these products will be difficult as you're looking at products that are close to 10 years out of support (v. 10) and well over 10 years out of support (v. 7).
- Ludek -
Hi,
my update to 10.3.1.1565 messed the handwriting input up on my phone. so I tried to downgrade to 10.2.1, upon doing so all my files were wiped, however I thought I was being smart by doing a complete backup this morning while running 10.3.1.1565 prior to attempting the os downgrade to 10.2.1 using BlackBerry Link,
Anyway I had to restore my device back to 10.3.1.1565 and now when I attempt to do a restore using the .bbb ( backup ) which I created earlier on today i.e getting the following error message:
blackberry 10 the data isn't compatible with the version of the device software that you are currently running
the software versions on my phone now and the software version when I did my backup are exactly the same 10.3.1.1565. I'm able to restore my user files and apps ect, as it offers to do a partial restore,., but my contacts, and remember files are now gone. I NEED THESE. how do I get these back..
please help..
Thanks,
GeoYeo - Free Local classifieds - Built for Blackberry 10, if you like it please Rate It and Share it!
Solved!
Go to Solution.Hi,
I figured it out. so I figured I would post. Apparently BlackBerry pulled the 10.3.1.1565 update. anway not sure what happened butI ended up usng Shenshi and grabbing an update from a different carrier, upon doing so I am now able to do a complete restore using my old BBB file,
GeoYeo - Free Local classifieds - Built for Blackberry 10, if you like it please Rate It and Share it! -
How to detect sessions that are currently running parallel queries?
Hi everyone,
How to detect session that are currently running parallel queries?
- The only way i can think of is querying pdml_Status from gv$session?
- Is there a better way to do this?
Follow up question:
After detecting sessions that are running parallel queries how do i identify which sessions are slaves of which session?
thanks!Start with V$PX_SESSION, however also take a look at V$PQ_* and V$PX_* tables.
Maybe you are looking for
-
Can I set multiple iCal alarms to play iTunes 4 times a day?
I would like it to play an iTune at 4 different times during the day (upon my AM Kdg class' arrival/cleanup time and again upon the PM Kdg class' arrival/cleanup time, for instance). Is this possible or am I stuck with only 1 alarm capability? (I don
-
Hallo, the photoshop installations is really slow after updating to version 2014. So I checkt all performance related facts. I the settings of photoshop I saw, that there is only the defauld drive (systemdrive) in list of volumes. This is not the opt
-
Oracle 10.2.0.3 64-bit to SQL Server 2005 64-bit on Windows 2003 64-bit
I have not been successful in setting up HS ODBC to allow Oracle to connect to SQL Server with the above 64 bit editions. Is it possible in 10.2.0.3 Win 64-bit or must we use another method to connect? Any advice would be much appreciated.
-
Characters missing in PDF export on Windows
I have a EPS logo placed in InDesign. When I export to a PDF there are characters missing in the PDF: When I check the PDF's fonts it lists them as using a custom encoding. When my collegue uses the same logo in InDesign on a Mac, all the characters
-
After I type in my login details and press "enter" on a website, Firefox freezes for around half minute. This has gone on for around 5 months. I've tried disabling add-ons to my Firefox but they don't seem to affect this problem. My version is 17.0.1