When I woke up last night it was a little windy outside, so I decided to unplug my MacBook Pro because the power tends to flicker here. When I picked up the MacBook I noticed that it was very warm, even though the lid was closed and it was in sleep mode. This morning I decided to dig into the “Why is my MacBook hot even though the lid is closed and it’s in sleep mode” question.
“In Erlang, processes share no memory and can interact with each other only by sending messages. This is exactly how objects in the real world behave.”
“Processes interact by one method, and one method only, by exchanging messages. Processes share no data with other processes. This is the reason why we can easily distribute Erlang programs over multicores or networks.”
Joe Armstrong, in his book,
Programming Erlang: Software for a Concurrent World
“In Erlang it’s OK to mutate state within an individual process but not for one process to tinker with the state of another process ... processes interact by one method, and one method only, by exchanging messages. Processes share no data with other processes. This is the reason why we can easily distribute Erlang programs over multicores or networks.”
Joe Armstrong, in the book Programming Erlang
MySQL "show status" FAQ: Can you demonstrate how to use the MySQL show status command to show MySQL variables and status information, such as the number of open MySQL connections?
I don't have a whole lot of time today to give this a detailed discussion, but here is a quick look at some MySQL work that I did recently to show MySQL open database connections.
After having this on my "wish list" for many years, I finally took the time tonight to regenerate the pages for my "Free Introduction to Unix and Linux tutorial". The old format was just horrible, spread out among 285 small pages, and while this one still needs some work, it's about 1,000 times better than the old format, and comes in weighing only 13 large tutorial pages.
Some of the tutorial material is a little dated now, but these sections are still very relevant to today's Unix/Linux world:
The contents of this page come from the CentOS Linux ps man page, i.e., the man page for the Linux ps command (also known as the help page for the ps command).
Summary: A quick look at "The Toyota Way", and how information technology (IT) is looked at from the framework of The Toyota Way.
Here's an interesting quote from a book called The Toyota Way:
The Mac OS X Activity Monitor is a cool utility. As shown in the following figure, the main screen shows all the processes running on your system, the user that owns the process, the percent of CPU it's using, the virtual memory it's using, and more. My most common thing here is to sort by memory or CPU use to get a general idea of what's going on.