tagged [system]

How do I check CPU and Memory Usage in Java?

How do I check CPU and Memory Usage in Java? I need to check CPU and memory usage for the server in java, anyone know how it could be done?

21 Aug at 23:30

When to use IEnumerable vs IObservable?

When to use IEnumerable vs IObservable? How do you establish whether or not a method should return `IEnumerable` or `IObservable`? Why would I choose one paradigm over the other?

13 Jun at 22:28

What is the purpose of MethodInfo.MetadataToken

What is the purpose of MethodInfo.MetadataToken What is the token normally used for? More importantly, if I have a MetadataToken, can I get back the MethodInfo object?

How can I display PHP source code on Linux or similar?

How can I display PHP source code on Linux or similar? I am trying to do `system("cat variables.php");` from a PHP script, but it doesn't write anything. What's the problem?

19 Feb at 16:36

What is the difference between Trap and Interrupt?

What is the difference between Trap and Interrupt? What is the difference between Trap and Interrupt? If the terminology is different for different systems, then what do they mean on x86?

What is the difference between System.Drawing.Point and System.Drawing.PointF

What is the difference between System.Drawing.Point and System.Drawing.PointF What is the difference between `System.Drawing.Point` and `System.Drawing.PointF`. Can you give an example between this tw...

17 Sep at 08:27

In C# , How can i create a System.Drawing.Color object using a hex value?

In C# , How can i create a System.Drawing.Color object using a hex value? In C# , How can i create a System.Drawing.Color object using a value like this #FFFFF,#FGFG01 etc...

17 Apr at 22:52

What is the difference between connection.Close() and connection.Dispose()?

What is the difference between connection.Close() and connection.Dispose()? I noticed that the `SQLiteConnection` object in `System.Data.SQLite` owns two similar methods : - `Close()`- `Dispose()` Sam...

18 Jun at 12:26

Find Process Name by its Process ID

Find Process Name by its Process ID Suppose I know the process ID. I want to find the process name by its ID, using windows batch script. How can I do this?

Is there an online example of all the colours in System.Drawing.Color?

Is there an online example of all the colours in System.Drawing.Color? Can anyone point me to a reference chart that has swatches of all the colours that are represented in System.Drawing.Color?

Reactive Extensions OnNext thread-safety

Reactive Extensions OnNext thread-safety With the Rx `Subject`, is it thread-safe to call `OnNext()` from multiple threads? So the sequence can be generated from multiple sources. Will merge do the sa...

.NET: WebBrowser, WebClient, WebRequest, HTTPWebRequest... ARGH!

.NET: WebBrowser, WebClient, WebRequest, HTTPWebRequest... ARGH! In the System.Net namespace, there are very many different classes with similar names, such as: - - - Those are the main ones I'm curio...

23 Nov at 01:21

Using PerformanceCounter to track memory and CPU usage per process?

Using PerformanceCounter to track memory and CPU usage per process? How can I use [System.Diagnostics.PerformanceCounter](http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter....

How can I make Java print quotes, like "Hello"?

How can I make Java print quotes, like "Hello"? How can I make Java print `"Hello"`? When I type `System.out.print("Hello");` the output will be `Hello`. What I am looking for is `"Hello"` with the qu...

What is the difference between user variables and system variables?

What is the difference between user variables and system variables? What is the difference between user variables such as `PATH`, `TMP`, etc. and system variables? I accidentally deleted the user vari...

SQLite in-memory database backup in .NET

SQLite in-memory database backup in .NET How to get the SQLite in-memory data base backed up? I create the database in my Windows application. I want to take a database backup when I will close the ap...

4 Feb at 17:9

Using C#, how to get whether my machine is 64bit or 32bit?

Using C#, how to get whether my machine is 64bit or 32bit? Using C#, I would like to create a method that retunrs whether my machine is 64 or 32-bit. Is there anybody who knows how to do that?

11 Aug at 19:50

Multiple address in MailAddress constructor

Multiple address in MailAddress constructor i was trying to add multiple to address like this. but throws error like

5 Jul at 14:56

Difference between Quality and Compression with system.drawing.imaging?

Difference between Quality and Compression with system.drawing.imaging? I'm completely new to image processing in ASP.NET. I am very familiar with Photoshop, and image magick to some degree. I am tryi...

Can Reactive Extensions (Rx) be used across process or machine boundaries?

Can Reactive Extensions (Rx) be used across process or machine boundaries? Vaguely remember seeing some discussions on this quite a while back but haven't heard anything since. So basically are you ab...

1 Nov at 21:0

Why does ICustomAttributeProvider.GetCustomAttributes() return object[] instead of Attribute[]?

Why does ICustomAttributeProvider.GetCustomAttributes() return object[] instead of Attribute[]? Why does `ICustomAttributeProvider.GetCustomAttributes()` return `object[]` instead of `Attribute[]`? Is...

Portable Class Library (PCL) Version Of HttpUtility.ParseQueryString

Portable Class Library (PCL) Version Of HttpUtility.ParseQueryString Is there a Portable Class Library (PCL) version Of HttpUtility.ParseQueryString contained in System.Web or some code I could use? I...

C: Run a System Command and Get Output?

C: Run a System Command and Get Output? I want to run a command in linux and get the text returned of what it outputs, but I want this text printed to screen. Is there a more elegant way than making a...

21 Jan at 11:38

Difference in System. exit(0) , System.exit(-1), System.exit(1 ) in Java

Difference in System. exit(0) , System.exit(-1), System.exit(1 ) in Java I'd like to know the difference between the following in Java When do I have to use the above code appropriately?

24 May at 17:59

How is malloc() implemented internally?

How is malloc() implemented internally? Can anyone explain how `malloc()` works internally? I have sometimes done `strace program` and I see a lot of `sbrk` system calls, doing `man sbrk` talks about ...

19 Aug at 01:36