Questions tagged [load]

A measure of the amount of work a computer is performing. CPU load is closely related too, but not exactly the same as CPU utilization.

In computing (typically UNIX), load is a measure of the amount of computational work that a computer system performs.

All Unix and Unix-like systems generate a metric of three "load average" which represent the system load during the last one-, five-, and fifteen-minute periods.

7165 questions
463
votes
6 answers

Can I get JSON to load into an OrderedDict?

Ok so I can use an OrderedDict in json.dump. That is, an OrderedDict can be used as an input to JSON. But can it be used as an output? If so how? In my case I'd like to load into an OrderedDict so I can keep the order of the keys in the file. If…
c00kiemonster
  • 22,241
  • 34
  • 95
  • 133
409
votes
7 answers

Do zombies exist ... in .NET?

I was having a discussion with a teammate about locking in .NET. He's a really bright guy with an extensive background in both lower-level and higher-level programming, but his experience with lower level programming far exceeds mine. Anyway, He…
smartcaveman
  • 41,281
  • 29
  • 127
  • 212
337
votes
26 answers

How to create a CPU spike with a bash command

I want to create a near 100% load on a Linux machine. It's quad core system and I want all cores going full speed. Ideally, the CPU load would last a designated amount of time and then stop. I'm hoping there's some trick in bash. I'm thinking…
User1
  • 39,458
  • 69
  • 187
  • 265
239
votes
17 answers

Load image from resources area of project in C#

I have an image in my project stored at Resources/myimage.jpg. How can I dynamically load this image into Bitmap object?
Pavel Bastov
  • 6,911
  • 7
  • 39
  • 48
202
votes
6 answers

Capture iframe load complete event

Is there a way to capture when the contents of an iframe have fully loaded from the parent page?
Jaime Garcia
  • 6,744
  • 7
  • 49
  • 61
196
votes
23 answers

changing source on html5 video tag

I'm trying to build a video player that works everywhere. so far I'd be going with: