Re: How do I check a process' memory usage?

2018-03-23 Thread Todd Chester

On 03/23/2018 08:55 PM, fred roller wrote:



On Fri, Mar 23, 2018 at 10:32 PM, Todd Chester > wrote:


Hi All,

FC27, x64

I have a 32 bit program running on a server that may be
running out of memory.

 From the command line, how do I check this?

Many thanks,
-T

This web site only made my head spin:


https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process





The command:

top

should give you a live break down of processes to include % of memory 
for a process.



Hi Fred,

Thank you!

Look like it is getting close to the harry edge of a 32 bit program.

-T


$ top -o %MEM

from `man top`:

2. %MEM  --  Memory Usage (RES)
  A task's currently used share of available physical memory.

17. RES  --  Resident Memory Size (KiB)
  The non-swapped physical memory a task is using.

36. VIRT  --  Virtual Memory Size (KiB)
  The  total  amount  of  virtual  memory  used by the task.
  It includes all code, data and shared libraries plus pages
  that have  been swapped out and pages that have been mapped
  but not used.

%Cpu(s): 11.8 us,  8.8 sy,  0.0 ni, 54.3 id, 23.5 wa,  0.7 hi,  0.8 si, 
0.0 st

KiB Mem : 32710736 total,  5083192 free,  6250780 used, 21376764 buff/cache
KiB Swap: 16385020 total, 16059160 free,   325860 used. 25605772 avail Mem


  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
15160 root  20   0 4112444 3.672g  11784 S   2.0 11.8  40:44.60 
redacted.bin



%MEM -- Memory Usage (RES)
11.8% (0.118 * 3271036 /1e6 = 3.59818096 GiB)

RES -- Resident Memory Size (KiB)
3.672  GiB

VIRT -- Virtual Memory Size (KiB):
4112444 KiB  (4.112444 GiB)

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: How do I check a process' memory usage?

2018-03-23 Thread fred roller
On Fri, Mar 23, 2018 at 10:32 PM, Todd Chester 
wrote:

> Hi All,
>
> FC27, x64
>
> I have a 32 bit program running on a server that may be
> running out of memory.
>
> From the command line, how do I check this?
>
> Many thanks,
> -T
>
> This web site only made my head spin:
>
> https://stackoverflow.com/questions/131303/how-to-measure-
> actual-memory-usage-of-an-application-or-process
>
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>

The command:

top

should give you a live break down of processes to include % of memory for a
process.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


How do I check a process' memory usage?

2018-03-23 Thread Todd Chester

Hi All,

FC27, x64

I have a 32 bit program running on a server that may be
running out of memory.

From the command line, how do I check this?

Many thanks,
-T

This web site only made my head spin:

https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread Stephen Morris

On 23/3/18 11:19 pm, Patrick Dupre wrote:

Hello,

I noted a small issue when using dual screening (primary and secondary 
displays).
If you have windows open in different workspaces, they all move in
workspace 1 after a screen lock.
Is it a configuration issue or something else?


This may be a network related issue. I experience the same issue at work 
in Windows 7. Depending on what development work I am doing I will leave 
my system active and screen locked when I go home at night. Our network 
is configured to disconnect inactive applications after, I think now, 25 
minutes, so when I get back into work in the morning and unlock the 
screen all the open windows have moved back to the primary screen. If I 
lock the screen and unlock it after say 5 minutes the same thing doesn't 
occur.


regards,

Steve




===
  Patrick DUPRÉ | | email: pdu...@gmx.com
  Laboratoire de Physico-Chimie de l'Atmosphère | |
  Université du Littoral-Côte d'Opale   | |
  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread Ed Greshko
On 03/24/18 07:26, fred roller wrote:
> Is there a possibility the system is going suspend/hibernate after screen 
> lock? 
> Thus, the disconnect?
>
>

I know, or I think I know, that you're asking the question of me since it 
appears
after my response in the thread.  But, if someone isn't using or following 
threads
they would have no idea what this is in reference to.  It would be totally 
without
context.

But, to answer your question, of course it isn't going into suspend or 
hibernate. 
I'm a bit more observant and knowledgeable about how I have my system 
configured. 
:-) :-)


-- 
Conjecture is just a conclusion based on incomplete information. It isn't a 
fact.



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread fred roller
Is there a possibility the system is going suspend/hibernate after screen
lock?  Thus, the disconnect?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread Ed Greshko
On 03/23/18 20:19, Patrick Dupre wrote:
> I noted a small issue when using dual screening (primary and secondary 
> displays).
> If you have windows open in different workspaces, they all move in
> workspace 1 after a screen lock.
> Is it a configuration issue or something else?


This does not happen for me on a desktop system with KDE and Xorg.

One thing that does happen is, if I manually power off the secondary monitor 
(which I
do since the HDMI in has a chromecast connected) and forget to power it on 
before
moving my mouse to wake up the monitors the secondary monitor will no be sensed 
by
the system and will remain dark.  However, the windows on the secondary monitor 
will
remain there.

-- 
Conjecture is just a conclusion based on incomplete information. It isn't a 
fact.



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread Rick Stevens
On 03/23/2018 02:44 PM, Jon LaBadie wrote:
> On Fri, Mar 23, 2018 at 01:19:40PM +0100, Patrick Dupre wrote:
>> Hello,
>>
>> I noted a small issue when using dual screening (primary and secondary 
>> displays).
>> If you have windows open in different workspaces, they all move in
>> workspace 1 after a screen lock.
>> Is it a configuration issue or something else?
>>
> I don't screen lock and very seldom 'suspend' or
> 'hibernate' the system.  But the few times I
> did susp or hiber, I noticed the same behavior.
> All windows came back in workspace one.

In hibernate/suspend, the system essentially powers down. This is quite
different than a screen lock, where the system remains alive and kicking.

When it comes back up from hibernate or suspend, it's probably going to
initially see just the primary display and doesn't really know about the
second screen. How you'd get around that, I'm not sure. Sometimes even
USB and other external devices (e.g. E-SATA and the like) don't come up
from suspend/hibernate modes either.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 22643734Yahoo: origrps2 -
--
-Do you know where _your_ towel is?  -
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread Jon LaBadie
On Fri, Mar 23, 2018 at 01:19:40PM +0100, Patrick Dupre wrote:
> Hello,
> 
> I noted a small issue when using dual screening (primary and secondary 
> displays).
> If you have windows open in different workspaces, they all move in
> workspace 1 after a screen lock.
> Is it a configuration issue or something else?
> 
I don't screen lock and very seldom 'suspend' or
'hibernate' the system.  But the few times I
did susp or hiber, I noticed the same behavior.
All windows came back in workspace one.

jl
-- 
Jon H. LaBadie  jo...@jgcomp.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: EXTERNAL: Re: Dual screen

2018-03-23 Thread Wells, Roger K.

On 03/23/2018 10:24 AM, fred roller wrote:
First I have heard of it tbh.  However, similar results when I have 
lost power to a second screen.  Sounds like screen lock is losing 
connection with the second screen.


hih,
Fred

On Fri, Mar 23, 2018 at 8:19 AM, Patrick Dupre > wrote:


Hello,

I noted a small issue when using dual screening (primary and
secondary displays).
If you have windows open in different workspaces, they all move in
workspace 1 after a screen lock.
Is it a configuration issue or something else?

===
 Patrick DUPRÉ                                 | | email:
pdu...@gmx.com 
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140
Dunkerque, France
===
___
users mailing list -- users@lists.fedoraproject.org

To unsubscribe send an email to
users-le...@lists.fedoraproject.org






I tried the same experiment:
1. Dual screens
2. windows on secondary display and in several workspaces on the primary 
display.

3. locked the screen

When unlocked everything was where it was prior to locking.
Did I do that right?

uname -r: 4.15.9-300.fc27.x86_64
gnome-session-3.26.1-1.fc27.x86_64
using Wayland

HTH

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org



--
Roger Wells, P.E.
leidos
221 Third St
Newport, RI 02840
401-847-4210 (voice)
401-849-1585 (fax)
roger.k.we...@leidos.com

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Dual screen

2018-03-23 Thread fred roller
First I have heard of it tbh.  However, similar results when I have lost
power to a second screen.  Sounds like screen lock is losing connection
with the second screen.

hih,
Fred

On Fri, Mar 23, 2018 at 8:19 AM, Patrick Dupre  wrote:

> Hello,
>
> I noted a small issue when using dual screening (primary and secondary
> displays).
> If you have windows open in different workspaces, they all move in
> workspace 1 after a screen lock.
> Is it a configuration issue or something else?
>
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> 
> ===
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: current docker instructions for installing on fedora up to date?

2018-03-23 Thread Daniel Walsh

On 03/23/2018 04:27 AM, Robert P. J. Day wrote:

On Tue, 20 Mar 2018, Daniel Walsh wrote:


On 03/19/2018 04:48 PM, Veli-Pekka Kestilä wrote:

On 19.3.2018 21:12, Robert P. J. Day wrote:

    i realize there's been some refactoring of docker packages for
fedora, so before i get buried in this, are the docker
instructions for fedora here:

    https://docs.docker.com/install/linux/docker-ce/fedora/

up to date? they look reasonable, just want to verify before i
dive into this. thank you kindly.

I installed it with those instructions maybe a week ago and it has
been working fine. Even found my old images from previous version.
One note to take is that I only use the machine to build images
and not running them otherwise so can't say about long running
stuff or custom configurations which I don't have either.

-vpk

You could always also look at podman as an alternative.  Should work
the same was as the Docker client, but not require you to run a
daemon.

   interesting ... a (very) cursory glance suggests podman has no
docker-related dependencies, but is based on CNI? so, just to be
clear, one could play with podman with no docker-related packages
installed? that seems worth looking into.

rday


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Yes podman mantra is #nobigfatdaemons, so it does not/should not require 
docker to be installed.



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Dual screen

2018-03-23 Thread Patrick Dupre
Hello,

I noted a small issue when using dual screening (primary and secondary 
displays).
If you have windows open in different workspaces, they all move in
workspace 1 after a screen lock.
Is it a configuration issue or something else?

===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale   | |
 Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: current docker instructions for installing on fedora up to date?

2018-03-23 Thread Robert P. J. Day
On Tue, 20 Mar 2018, Daniel Walsh wrote:

> On 03/19/2018 04:48 PM, Veli-Pekka Kestilä wrote:
> > On 19.3.2018 21:12, Robert P. J. Day wrote:
> >>
> >>    i realize there's been some refactoring of docker packages for
> >> fedora, so before i get buried in this, are the docker
> >> instructions for fedora here:
> >>
> >>    https://docs.docker.com/install/linux/docker-ce/fedora/
> >>
> >> up to date? they look reasonable, just want to verify before i
> >> dive into this. thank you kindly.
> >
> > I installed it with those instructions maybe a week ago and it has
> > been working fine. Even found my old images from previous version.
> > One note to take is that I only use the machine to build images
> > and not running them otherwise so can't say about long running
> > stuff or custom configurations which I don't have either.
> >
> > -vpk
>
> You could always also look at podman as an alternative.  Should work
> the same was as the Docker client, but not require you to run a
> daemon.

  interesting ... a (very) cursory glance suggests podman has no
docker-related dependencies, but is based on CNI? so, just to be
clear, one could play with podman with no docker-related packages
installed? that seems worth looking into.

rday___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: cannot connect to a bluetooth speaker

2018-03-23 Thread Federico Bruni



Il giorno gio 22 mar 2018 alle 22:32, Federico Bruni 
 ha scritto:



Il giorno gio 22 mar 2018 alle 9:26, Federico Bruni 
 ha scritto:



Il giorno gio 22 mar 2018 alle 8:21, Federico Bruni 
 ha scritto:

Let me add that I've tried also bluetoothctl.
I can pair it but after a few seconds it's disconnected:

[bluetooth]# trust AC:89:95:DA:52:5E
Changing AC:89:95:DA:52:5E trust succeeded
[bluetooth]# pair AC:89:95:DA:52:5E
Attempting to pair with AC:89:95:DA:52:5E
[CHG] Device AC:89:95:DA:52:5E Connected: yes

Failed to pair: org.bluez.Error.AuthenticationCanceled
[CHG] Device AC:89:95:DA:52:5E Connected: no




I've now searched this error and found a possible solution here:
https://bbs.archlinux.org/viewtopic.php?id=180165

It says that installing bluez-hid2hci would solve the problem.
It was not installed on my system, so I'll give it a try when I'm 
back home.




I'm doing some progress. Now the bluetooth connection is kept and the 
speaker appears in the Sound settings (see attached screenshot).


But the speaker is mute. It might be some audio library missing or 
what?
I tried `dnf search a2dp` and found only package sbc, which is 
already installed.

Some problem with PulseAudio?




I disabled pulseaudio respawning and added verbosity (pulseaudio 
-vv)

and I got this interesting information:

I: [pulseaudio] module-suspend-on-idle.c: Sink 
alsa_output.pci-_00_1b.0.analog-stereo idle for too long, 
suspending ...


which brought me to the solution suggested here:
https://askubuntu.com/questions/218444/sound-output-starts-delayed

i.e. commenting load-module module-suspend-on-idle in 
/etc/pulse/default.pa


Now I can play music on that speaker. Success :-)

Sorry for this "solo thread", but I hope it can be helpful for others.

Best
Federico




___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org