hye guys
Hi
plz help me
i need to run following java commands but in console
CLEAR
CPU // printall CPU Registers ( GENERAL purpose Registers , Speical Purpose Registers, Program Counter & flag)

KILL // Kill process Id
Load // Load a process and suspend it untill teh user resumes it using run process command the OS will print the process id of th newly loaded process so that user can resume it
Mem Detail // show process memory dump
Display PCB //display teh PCB of the selected process
Free Frames // show the frame numbers and location of free frames

Allocated Frames //show the process id n frame numbers of all alloacated frames
Rum All // run all(ready) process
Shut Down // shut down the operating system

plz palz help me
i nened it aeap for ma project
plz
thankz in adv

Recommended Answers

All 4 Replies

Those are not Java commands.

Those are not Java commands.

HI
ya i knw but i hav to make the code of these commands in java
but em not gettingany clue for it
can ay bdy help me out in making such code or if any body hav o plz simply post me baq
thnkX

Most of these are also not the type of things Java should be used for, as the majority of them would require a Runtime.exec call. And those, almost always, defeat the purpose of using Java.

not really. You could use JNI or some mechanism for IPC to talk to special written native services.

But I agree, Java isn't the language of choice for such things.

And the next person who wants to clear my console window is going to get it bad, it's MY console window, not his.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.