two kde questions

Dear all,
I would like to ask your help.
Do you know what is the command line for kde’s System monitor?
I do
ssh myserver -X
and I would like to be able to launch it and see what is going on in that machine.

Moreover, do you know how I can turn off my kde from command line? Just in case the kde gui fails to shut down kde.

I would like to thank you for your replies
Regards
Alex

The name for the program is ksysguard

ssh -X <user>@<ip_address>

You can find the launch command in the menu editor > find the system monitor > check it’s command

Probably:

systemmonitor

Shutdown is done as su -

shutdown -h  now

‘ksysguard’

‘htop’ is also rather nice. You’ll have to install it though. And since it is a cli programm it is quite fast and does not depend on X. And with Mouse on Text Console you can even point and click.

I was talking about kde’s shutdown. Sometimes my gui fails to turn kde off. Is it possible to do this with some cli command?

Moreover do you know if I can somehow change in kde window’s titles? For example write now I run to kdesysguard one for my local pc and one for remote pc. It would be great if I could put my title in these windows.

On Mon, 18 Apr 2011 13:06:01 +0530, alaios
<alaios@no-mx.forums.opensuse.org> wrote:

>
> Dear all,
> I would like to ask your help.
> Do you know what is the command line for kde’s System monitor?
> I do
> ssh myserver -X
> and I would like to be able to launch it and see what is going on in
> that machine.

“ksysguard &” (w/o quotation marks, of course)

> Moreover, do you know how I can turn off my kde from command line? Just
> in case the kde gui fails to shut down kde.

i don’t know if there’s a command to turn of KDE in particular, but “init
3” after becoming root (“su -”) should do the trick.


phani.

‘ksysguard --title <title>’

But even without the --title option, the ksysguard that you lauch over SSH from another machine will also have that machine’s name in the title anyway, distinguishine it from instances for your local machine. I.e. it’ll say “System Monitor <@linux-xxxx>”.

ETA: See ‘ksysguard --help-qt’ for more options.

As for that other question, you could terminate/kill the right processes. ‘top’ or ‘htop’ on the cli should always be helpful with that. But strictly speaking that is not a proper logout.

On Mon, 18 Apr 2011 13:36:02 +0530, caf4926
<caf4926@no-mx.forums.opensuse.org> wrote:

> Shutdown is done as su -
> Code:
> --------------------
> shutdown -h now
> --------------------

i thought he wanted to shut down KDE, not the whole machine.


phani.

Thank you very much all of you for your contributions.

  1. For kde again. I would like to ask from console the kde to shutdown ‘nice’ . I can also kill X/ write init3/ init 0/ shutdown. I all these ways kde will not save my last settings which I want to keep

  2. I have a system with 64 processors and I would like to have any graphical represantation that will give me the cpu utilization for every single cpu. I am writing some matlab code and looking my cpu’s status it makes it easier to help me understand if my code is running in parallel or not.
    ksysguard seems that it can not support nicely so many cpus. I can upload a picture of it if you would like to.

I would like to thank you in advadnce for your help
Alex

On Mon, 18 Apr 2011 14:36:02 +0530, alaios
<alaios@no-mx.forums.opensuse.org> wrote:

>
> Thank you very much all of you for your contributions.
> 1) For kde again. I would like to ask from console the kde to shutdown
> ‘nice’ . I can also kill X/ write init3/ init 0/ shutdown. I all these
> ways kde will not save my last settings which I want to keep
>
> 2) I have a system with 64 processors and I would like to have any
> graphical represantation that will give me the cpu utilization for every
> single cpu. I am writing some matlab code and looking my cpu’s status it
> makes it easier to help me understand if my code is running in parallel
> or not.
> ksysguard seems that it can not support nicely so many cpus. I can
> upload a picture of it if you would like to.
>
> I would like to thank you in advadnce for your help
> Alex
>

i have no idea if there are specialized applications for this type of CPU
monitoring–wouldn’t surprise me. on the other hand, top and htop can be
customized quite a bit as to how they display the information–separate
CPUs or combined, per example. perhaps getting into their man entries
would help?


phani.

On Mon, 18 Apr 2011 14:47:53 +0530, phanisvara <listmail@phanisvara.com>
wrote:

> On Mon, 18 Apr 2011 14:36:02 +0530, alaios
> <alaios@no-mx.forums.opensuse.org> wrote:
>
>>
>> Thank you very much all of you for your contributions.
>> 1) For kde again. I would like to ask from console the kde to shutdown
>> ‘nice’ . I can also kill X/ write init3/ init 0/ shutdown. I all these
>> ways kde will not save my last settings which I want to keep
>>
>> 2) I have a system with 64 processors and I would like to have any
>> graphical represantation that will give me the cpu utilization for every
>> single cpu. I am writing some matlab code and looking my cpu’s status it
>> makes it easier to help me understand if my code is running in parallel
>> or not.
>> ksysguard seems that it can not support nicely so many cpus. I can
>> upload a picture of it if you would like to.
>>
>> I would like to thank you in advadnce for your help
>> Alex
>>
>
> i have no idea if there are specialized applications for this type of
> CPU monitoring–wouldn’t surprise me. on the other hand, top and htop
> can be customized quite a bit as to how they display the
> information–separate CPUs or combined, per example. perhaps getting
> into their man entries would help?
>

oh, and ksysguard can be customized by creating new ‘tabs,’ on which you
can place any number of sensors; among them CPU sensors that show
different CPU stats. perhaps worth looking into this, too.


phani.

On 04/18/2011 10:06 AM, alaios wrote:
>
> I was talking about kde’s shutdown. Sometimes my gui fails to turn kde
> off. Is it possible to do this with some cli command?

i’m not sure i understand when you say “turn kde off” do you mean to
keep X running or what?

and, you say when you use ‘init 3’ it doesn’t keep your KDE “settings”
what are the exact settings you want to keep? and through what means are
you making these “settings” to be what you wish?

hmmmm…are you logging into KDE as root, or as a simple user?


CAVEAT: http://is.gd/bpoMD
[openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
A Penguin Being Tickled - http://www.youtube.com/watch?v=0GILA0rrR6w

On Mon, 18 Apr 2011 15:14:34 +0530, DenverD
<DenverD@no-mx.forums.opensuse.org> wrote:

> On 04/18/2011 10:06 AM, alaios wrote:
>>
>> I was talking about kde’s shutdown. Sometimes my gui fails to turn kde
>> off. Is it possible to do this with some cli command?
>
> i’m not sure i understand when you say “turn kde off” do you mean to
> keep X running or what?
>
> and, you say when you use ‘init 3’ it doesn’t keep your KDE “settings”
> what are the exact settings you want to keep? and through what means are
> you making these “settings” to be what you wish?
>
> hmmmm…are you logging into KDE as root, or as a simple user?
>

after a little googling, i found that the following command logs you out
of your KDE session – on KDE 4.6.2, that is. it doesn’t work on KDE
4.7.x, which i have running in a virtual machine. seems the qdbus commands
have changed some:

qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout 0 0 0


phani.