Difference between revisions of "Process"

From Freephile Wiki
Jump to navigation Jump to search
(revert edits to fix search where character encoding was a problem)
(Initial draft)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== Client Engagement and Project Management Process ==
 
== Client Engagement and Project Management Process ==
{{@todo}} publish full {{CompanyName}} process handbook
+
{{@todo}} {{CompanyName}} has a detailed process for engagements that we will be publishing shortly.
  
=== How We Work ===
+
== System ==
==== Small and Responsive ====  
+
On a linux system, you can use the <code>ps</code> command to find out about the processes running on the computer.
{{CompanyName}} is as nimble as it is responsive to customer concerns.
 
  
==== Good, Fast, Cheap - Pick Any Two! ====
+
A favorite incantation is the <code>ps axjf</code> command to show the process tree. Helpful to see children with their parents.
Any project can be done good, fast, or cheap. Pick any two. Quality is seldom quick.
 
  
==== Process ====
+
In that tree output, it's easy to see the Process ID (PID) and the Parent Process ID (PPID). Using the PID, you can tell <code>ps</code> to show information only about that process: e.g. <code>ps -p 123</code>  Or, if you know the name of the executable you're interested in, then you can specify it that way: e.g. <code>ps -C java</code>
{{CompanyName}} is focused on implementations for non-profits, civic-minded organizations, and small businesses. We utilize the Agile development methodology for rapid deployments. We strive for clear and open communication - if something won't work, or take a long time to develop - we'll tell you so.
 
  
==== Timing ====
+
Sometimes a process is extremely long, and you can't see the whole picture.  With the <code>w</code> option, you get a 'wide' readout.  Repeat the option (<code>ww</code>) to get unlimited width in the readout. And, the <code>f</code> option shows a "full-format listing". So, for example, when you launch a java app like [[NetBeans]] (assuming you find it's <code>pid</code> to be 12657 in this example), and issue <code>ps -p12657 wwf</code>, you'll get something like this:
Each project is unique, and we ask many questions before we get started. Projects are assigned priorities, relatively short deliverable phases, and timelines. We prefer for you to see the work in progress so that any adjustments can be made as we go along.
+
<pre>
 +
  PID TTY      STAT  TIME COMMAND
 +
12657 ?        Sl    3:00 /usr/lib/jvm/java-8-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-8-oracle -classpath /home/greg/netbeans-8.0.2/platform/lib/boot.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-modules.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-util.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-util-lookup.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-8-oracle/lib/dt.jar:/usr/lib/jvm/java-8-oracle/lib/tools.jar -Dnetbeans.default_userdir_root=/home/greg/.netbeans -Dnetbeans.running.environment=gnome -Dnetbeans.dirs=/home/greg/netbeans-8.0.2/nb:/home/greg/netbeans-8.0.2/ergonomics:/home/greg/netbeans-8.0.2/ide:/home/greg/netbeans-8.0.2/extide:/home/greg/netbeans-8.0.2/java:/home/greg/netbeans-8.0.2/apisupport:/home/greg/netbeans-8.0.2/webcommon:/home/greg/netbeans-8.0.2/websvccommon:/home/greg/netbeans-8.0.2/enterprise:/home/greg/netbeans-8.0.2/mobility:/home/greg/netbeans-8.0.2/profiler:/home/greg/netbeans-8.0.2/python:/home/greg/netbeans-8.0.2/php:/home/greg/netbeans-8.0.2/identity:/home/greg/netbeans-8.0.2/harness:/home/greg/netbeans-8.0.2/cnd:/home/greg/netbeans-8.0.2/dlight:/home/greg/netbeans-8.0.2/groovy:/home/greg/netbeans-8.0.2/extra:/home/greg/netbeans-8.0.2/javacard:/home/greg/netbeans-8.0.2/javafx: -Dnetbeans.home=/home/greg/netbeans-8.0.2/platform -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xmx1024m -client -Xss2m -Xms32m -XX:PermSize=32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/greg/.netbeans/8.0.2/var/log/heapdump.hprof org.netbeans.Main --cachedir /home/greg/.cache/netbeans/8.0.2 --userdir /home/greg/.netbeans/8.0.2 --branding nb --laf Metal
 +
</pre>
  
==== Best Practices, New Ideas ====
+
If you use <code>-F</code> (which implies <code>f</code>), you'll get a few more columns in the output (UID, PPID, C, SZ, RSS, PSR, STIME)
You are good at what you do and we are here to make your job easier. But sometimes you don't know what you don't know. We will always bring fresh ideas to the table and suggest more efficient ways of doing things. Chances are, we have dealt with a similar problem in the past. If not - we will take on the challenge!
 
  
==== Price ====
 
See our [[Rates]] and Contact Us about custom engagements.
 
  
==== No Project Too Small ====
+
[[Category:Company]] [[Category:System Administration]]
If you have a small project, contact us. We'll take a look and provide some insight - free of charge.
 
 
 
[[Category:Company]]
 
[[Category:System Administration]]
 

Revision as of 11:25, 17 March 2016

Client Engagement and Project Management Process[edit | edit source]

Gedit.svg todo eQuality Technology has a detailed process for engagements that we will be publishing shortly.

System[edit | edit source]

On a linux system, you can use the ps command to find out about the processes running on the computer.

A favorite incantation is the ps axjf command to show the process tree. Helpful to see children with their parents.

In that tree output, it's easy to see the Process ID (PID) and the Parent Process ID (PPID). Using the PID, you can tell ps to show information only about that process: e.g. ps -p 123 Or, if you know the name of the executable you're interested in, then you can specify it that way: e.g. ps -C java

Sometimes a process is extremely long, and you can't see the whole picture. With the w option, you get a 'wide' readout. Repeat the option (ww) to get unlimited width in the readout. And, the f option shows a "full-format listing". So, for example, when you launch a java app like NetBeans (assuming you find it's pid to be 12657 in this example), and issue ps -p12657 wwf, you'll get something like this:

  PID TTY      STAT   TIME COMMAND
12657 ?        Sl     3:00 /usr/lib/jvm/java-8-oracle/bin/java -Djdk.home=/usr/lib/jvm/java-8-oracle -classpath /home/greg/netbeans-8.0.2/platform/lib/boot.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-modules.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-util.jar:/home/greg/netbeans-8.0.2/platform/lib/org-openide-util-lookup.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/boot_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_pt_BR.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_ru.jar:/home/greg/netbeans-8.0.2/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-8-oracle/lib/dt.jar:/usr/lib/jvm/java-8-oracle/lib/tools.jar -Dnetbeans.default_userdir_root=/home/greg/.netbeans -Dnetbeans.running.environment=gnome -Dnetbeans.dirs=/home/greg/netbeans-8.0.2/nb:/home/greg/netbeans-8.0.2/ergonomics:/home/greg/netbeans-8.0.2/ide:/home/greg/netbeans-8.0.2/extide:/home/greg/netbeans-8.0.2/java:/home/greg/netbeans-8.0.2/apisupport:/home/greg/netbeans-8.0.2/webcommon:/home/greg/netbeans-8.0.2/websvccommon:/home/greg/netbeans-8.0.2/enterprise:/home/greg/netbeans-8.0.2/mobility:/home/greg/netbeans-8.0.2/profiler:/home/greg/netbeans-8.0.2/python:/home/greg/netbeans-8.0.2/php:/home/greg/netbeans-8.0.2/identity:/home/greg/netbeans-8.0.2/harness:/home/greg/netbeans-8.0.2/cnd:/home/greg/netbeans-8.0.2/dlight:/home/greg/netbeans-8.0.2/groovy:/home/greg/netbeans-8.0.2/extra:/home/greg/netbeans-8.0.2/javacard:/home/greg/netbeans-8.0.2/javafx: -Dnetbeans.home=/home/greg/netbeans-8.0.2/platform -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xmx1024m -client -Xss2m -Xms32m -XX:PermSize=32m -Dapple.laf.useScreenMenuBar=true -Dapple.awt.graphics.UseQuartz=true -Dsun.java2d.noddraw=true -Dsun.java2d.dpiaware=true -Dsun.zip.disableMemoryMapping=true -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/greg/.netbeans/8.0.2/var/log/heapdump.hprof org.netbeans.Main --cachedir /home/greg/.cache/netbeans/8.0.2 --userdir /home/greg/.netbeans/8.0.2 --branding nb --laf Metal

If you use -F (which implies f), you'll get a few more columns in the output (UID, PPID, C, SZ, RSS, PSR, STIME)