From 11aa5ebaeab7d3145df5b4e307f6fa73185b085c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Wed, 25 Apr 2012 17:13:11 +0000 Subject: [PATCH] document --new-instance --- NEWS | 2 ++ src/description.txt | 9 +++++++-- src/main.c | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 192a8b6..5d8d33e 100644 --- a/NEWS +++ b/NEWS @@ -30,6 +30,8 @@ instances show the window of the primary psensor instance and exits. ** many code quality improvements. +** psensor: added --new-instance option to allow the creation of + multiple instances of Psensor. * v0.6.2.17 diff --git a/src/description.txt b/src/description.txt index 02b6021..3dfdd56 100644 --- a/src/description.txt +++ b/src/description.txt @@ -23,7 +23,7 @@ instruction. See the manpages of sensors(1) and sensors\-detect(8) for more information. To retrieve the temperature of the Hard Disk Drives, the hddtemp -daemon must be running. +daemon must be running or atasmart used ('\-\-use\-libatasmart'). For remote monitoring: * start psensor\-server(1) on the remote computer @@ -33,7 +33,12 @@ ATI/AMD GPUs monitoring is available if the library libatiadlxx is present in the directory /usr/lib and psensor has been compiled with the ATI ADL SDK. -Log is written to '$HOME/.psensor/log'. +Log messages are written to '$HOME/.psensor/log'. + +By default, if a Psensor process is already running, the command +psensor will show the graph window then exit. +It is possible to run multiple instances of Psensor by using the +option '\-\-new\-instance'. [SEE ALSO] diff --git a/src/main.c b/src/main.c index e733487..1781038 100644 --- a/src/main.c +++ b/src/main.c @@ -102,6 +102,8 @@ static void print_help() puts(_(" --use-libatasmart " "use atasmart library for disk monitoring " "instead of hddtemp daemon")); + puts(_(" -n, --new-instance " + "force the creation of a new Psensor application")); puts(""); puts(_(" -d, --debug=LEVEL " -- 2.7.4