to start Apache at Ubuntu

Always when I turn on pc pc, boot in ubuntu 10.04 all of services that I need and I use are loaded automatically…

So, some day ago this could not happen anymore… better, this it was not working anymore…

I use often apache server service to my web applications … and one day it was not working..

I will show you what I did …

I opened the Terminal and typed:

top

its show to you all proccess are running in yout machine and its features like pid, time, name, etc..

I did not see the apache there..

I just looked for apache and started it:

from there the apache server service start to work at your pc…

if you are using windows you hace probally xamp, amp or whatever you need to set up and do that every time you want to use it.. or set up to start when you pc is turning on….

On Ubuntu it starts automatically … so, if you miss apache in yout pc, try this…

Advertisements

Dtrace on OpenSolaris

I’ll talk a bit about …. Dtrace
That it?
A wonderful tool that has the OpenSolaris to monitor your entire system ..
How so?
DTrace is intended to monitor everything, when he said, is all the same, on your computer, what programs open (that’s already doing it or other OS software), network status, hardware, file behavior, attendance, monitor what’s Threads system are running, are in the queue, which will still be called (I want to see an OS or proprietary software to do this !!!), see what is happening in the kernel, you can see EVERYTHING in detail, as called processes, modules, functions,DWI!!
According to wikipedia “… The kernel of an operating system is understood as the core of it, or a literal translation, core. He represents the software layer closest to the hardware and is responsible for managing the resources of the computer system as a whole ….. “So if you can see what the kernel is doing through the Dtrace, you really can correct mistakes and so walk to an ideal operating system (Theoretically )!!!!
To get a better idea, the Dtrace group explains that “… DTrace is a framework created by Sun Microsystems for Solaris 10 that gives the system administrator a way understandable to monitor and track all internal operations of each process or Routine system, becoming a powerful tool for advanced diagnosis of problems or enhancements ….”
The cool thing is you monitor what they do, such as what processes you use when you start x software. What about this all you have on hand and see that performance, see problems or failures that can be repaired even by yourself.
In this link (Click Here) Sun you find a book about DTrace and a good detailed explanation of what he is and does!

To make a script to run dtrace you have to write in Language D. Yeah, that’s right, D. Language But that is not a big deal not, is quiet.
A small example from the terminal Opensolaris …
Open terminal and type

cat hello.d
#! / Usr / sbin / dtrace-s
BEGIN
(
trace (“Hello World \ n”);
)

Ready program is done in the / usr / sbin / dtrace-s command is to create the script
and to run the command type
dtrace-s hello.d

Here is the output!!

It is a simple example, but you can see that is not as difficult goes like only a matter of habit with the language.

So with this example and encouragement that Dtrace is the best tool for monitoring and optimization of the Solaris and OpenSolaris, just start playing!
I hope it helped and have any questions just email or post comments!

Here you can find a “How to” DTrace is a very good material for those just starting out and want to understand more about this powerful tool!
Click here to download!
And here the Potal BigAdim Sun has plenty of tips and materials!