emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Org mode as an helper tool for my job position (DBA)


From: Bernt Hansen
Subject: [Orgmode] Re: Org mode as an helper tool for my job position (DBA)
Date: Mon, 17 Mar 2008 08:54:27 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Xavier Maillard <address@hidden> writes:

> Hi,
>

Hi!

> Producing the right org-mode file structure from any script/c code is rather
> simple, in fact, I have done this as a quick and dirty hack for one tool.
>
> Where I am failing is in having a column view of the document (I want to be 
> able
> to only view time spent for each object name to measure the performance of the
> last update statistics run).
>
> What would I need to add for each of the table/index "todo" entry to have this
> information at hand ?
>
> As an example, updating index statistics will present an org file like this 
> one:
>
> #title Update statistics of sql server
>
> * General information
> - start date
> - end date
> - return code
>
> * Index statistics (I want column view from here for each object name)
> ** Index name 1
> informations for index name 1 go here (time spent, etc...)
> ** Index name 2
> * Index name <n>
> ...
>

Here's a sample org file.  Just add properties to the tasks (objects)
you need in the column view and a #+COLUMNS: line describing what fields
to include in the columns.

,----[ Sample org file ]
| #+STARTUP:
| #+COLUMNS: %40ITEM(Task) %30Status(Status) %30TimeSpent(Time Spent){:}
| * General information
| - start date
| - end date
| - return code
| 
| * Index statistics (I want column view from here for each object name)
| ** Index name 1
| informations for index name 1 go here (time spent, etc...)
| :PROPERTIES:
| :TimeSpent: 00:30
| :Status: S42
| :END:
| ** Index name 2
| :PROPERTIES:
| :TimeSpent: 00:17
| :Status: R19
| :END:
| * Index name <n>
| :PROPERTIES:
| :TimeSpent: 02:16
| :Status: 42
| :END:
`----

Hope that helps,

Bernt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]