Re: (COMPLETED) Changing systems

2015-11-27 Thread Mike Chambers
On Fri, 2015-11-27 at 09:20 -0800, Rick Stevens wrote:
> On 11/26/2015 04:00 PM, Fred Smith wrote:
> > On Thu, Nov 26, 2015 at 11:57:18AM -0600, Mike Chambers wrote:
> > > Hi all and Happy Thanksgiving,
> > > 
> > > Could I take 2 HD's out of 1 computer, move them to a different
> > > computer, obviously having to reinstall grub and such, would they
> > > work
> > > without having to do much of anything else?
> > > 
> > > I know I have to make sure the correct one is booted up and how
> > > they
> > > are connected, and the BIOS sees them correctly.
> > > 
> > > Anything else to know first?  The computers are both pretty new
> > > so not
> > > like going from 10 year old to a 1 year old or anything, both
> > > only 3-5
> > > years old even if that old.
> > 
> > that's how I "built" the system I have now. Had a pair of drives
> > in software RAID-1. pulled 'em out of the old system, plugged 'em
> > into the new system and voila (nearly) everything worked. One
> > bottleneck
> > was the network wasn't working until I fixed the hard-coded MAC
> > addresses
> > in the NIC configuration. can't think of anything else, right now,
> > that
> > didn't work.
> 
> I did precisely this. The old mobo (three year old AMD Phenom,
> dual-core hyperthread for 4 cores) went kft! Swapped it out with
> a
> new Gigabyte Z97M-DS3H (Intel i7 quad-core, hyperthread for 8 cores).
> Booted just fine (after it rebuilt the video driver). Had to modify
> the
> network config for the new MAC address, but all was well.
> 
> All done on F22. Works a treat.

Welp, it was as simple as everyone said it would be.

I took out the 2 drives, put them in the other box.  Then I had to
modify the BIOS to reorder the boot order of the drives.  Then last
thing was modifying my router to make sure the MAC address was changed
and everything else seems to work.

-- 
Mike Chambers
Madisonville, KY

"Best lil town on Earth!"


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: xfce in 21

2015-11-27 Thread Kevin Fenzi
On Tue, 24 Nov 2015 14:42:37 -0500
Frank McCormick  wrote:

> I am still running Fedora 21 with various desktops including XFCE.
> 
> Because of various bugs in the version I am running
> I wanted to update to 4.12 -- 4.10 is the current
> Fedora 21 version.
> 
> A user on the XFCE forum pointed me to a user
> repository on Fedora which has 4.12...and this morning
> I updated without a problem.
> 
> Is 4.12 ever going to be in the official 21 repositories ?

As others have said: nope. ;) 

In general we don't tend to upgrade major Xfce versions within the life
of a release, they just keep the one they started with.

As a side note you may want to upgrade very soon, Fedora 21 goes end of
life on december 1st (monday). 

kevin


pgpAZmmZHsgQ5.pgp
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: No login for mailman3

2015-11-27 Thread Kevin Fenzi
On Tue, 24 Nov 2015 17:17:29 -0600
Robert Nichols  wrote:

> Worthless!  I'll just have to pester the list admin to make the
> change I want.

Out of curiosity, what change are you wanting ?

kevin




pgpVBZpJLbdt9.pgp
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread Jon LaBadie
On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote:
> 
> 
> On 11/27/2015 03:29 AM, Andrew Haley wrote:
> >#!/bin/awk -f
> >{
> >  lines[NR]=$NF " " $0
> >}
> >
> >END {
> >  PROCINFO["sorted_in"]="@val_type_asc"
> >#  for (i in lines) {
 for (i = NR; i >= 1; i--) {
> >  line = lines[i]
> >  j=index(line, " ")
> >  print substr(line, j+1)
> >  }
> >}
> Hi Andrew,
> manpage for awk does not betray any info on making sort in reverse.
> What is the incantation in this script to make the sort in reverse?
> -- 
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
>>> End of included message <<<

-- 
Jon H. LaBadie  jo...@jgcomp.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread jd1008



On 11/27/2015 12:14 PM, Jon LaBadie wrote:

On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote:


On 11/27/2015 03:29 AM, Andrew Haley wrote:

#!/bin/awk -f
{
  lines[NR]=$NF " " $0
}

END {
  PROCINFO["sorted_in"]="@val_type_asc"
#  for (i in lines) {

  for (i = NR; i >= 1; i--) {

  line = lines[i]
  j=index(line, " ")
  print substr(line, j+1)
  }
}

Hi Andrew,
manpage for awk does not betray any info on making sort in reverse.
What is the incantation in this script to make the sort in reverse?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

End of included message <<<

Sorry John. It did not sort in reverse :(

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Changing systems

2015-11-27 Thread Heinz Diehl
On 26.11.2015, Mike Chambers wrote: 

> Could I take 2 HD's out of 1 computer, move them to a different
> computer, obviously having to reinstall grub and such, would they work
> without having to do much of anything else?  

If the kernel has the drivers necessary for your new system, it should
work well. You'll not have to reinstall GRUB.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread jd1008



On 11/27/2015 03:29 AM, Andrew Haley wrote:

#!/bin/awk -f
{
  lines[NR]=$NF " " $0
}

END {
  PROCINFO["sorted_in"]="@val_type_asc"
  for (i in lines) {
 line = lines[i]
  j=index(line, " ")
  print substr(line, j+1)
  }
}

Hi Andrew,
manpage for awk does not betray any info on making sort in reverse.
What is the incantation in this script to make the sort in reverse?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Changing systems

2015-11-27 Thread Rick Stevens

On 11/26/2015 04:00 PM, Fred Smith wrote:

On Thu, Nov 26, 2015 at 11:57:18AM -0600, Mike Chambers wrote:

Hi all and Happy Thanksgiving,

Could I take 2 HD's out of 1 computer, move them to a different
computer, obviously having to reinstall grub and such, would they work
without having to do much of anything else?

I know I have to make sure the correct one is booted up and how they
are connected, and the BIOS sees them correctly.

Anything else to know first?  The computers are both pretty new so not
like going from 10 year old to a 1 year old or anything, both only 3-5
years old even if that old.


that's how I "built" the system I have now. Had a pair of drives
in software RAID-1. pulled 'em out of the old system, plugged 'em
into the new system and voila (nearly) everything worked. One bottleneck
was the network wasn't working until I fixed the hard-coded MAC addresses
in the NIC configuration. can't think of anything else, right now, that
didn't work.


I did precisely this. The old mobo (three year old AMD Phenom,
dual-core hyperthread for 4 cores) went kft! Swapped it out with a
new Gigabyte Z97M-DS3H (Intel i7 quad-core, hyperthread for 8 cores).
Booted just fine (after it rebuilt the video driver). Had to modify the
network config for the new MAC address, but all was well.

All done on F22. Works a treat.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-   Never try to outstubborn a cat.  -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: (SOLVED) Re: mate problem after upgrade to 22

2015-11-27 Thread Michael Schwendt
On Thu, 26 Nov 2015 13:23:41 -0500, Frank McCormick wrote:

> On 11/26/2015 12:57 PM, Frank McCormick wrote:
> > Upgraded my 21 system to 22 this morning...but using the script 
> > fedora-upgrade not
> > anything else
> > All seemed to go well...after reboot I went into my mate desktop and 
> > discovered
> > the panel at the bottom of the screen is not displaying. A quick check
> > showed it was loaded and seemingly running. Google didn't find
> > anything relevant.
> >
> > Does anyone have a suggestion ?
> >
> >
> > Thanks  
> 
>  Ran dnf distro-sync and 178 packages were downgraded...and a few
> new ones upgraded. Panel is back in mate. Very strange. But all is well now.

If you had captured the terminal output, it could have lead to discovering
something. Upgrade path violations in updates are a common problem, because
Fedora's Update System doesn't prevent them, some packagers ignore them, and
users do things like upgrading "from F21 + updates-testing to F22 without
updates-testing" or "from F21 + updates to F22 without updates".
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: BlueFish - how to access a remote server

2015-11-27 Thread Tim
Allegedly, on or about 27 November 2015, Angelo Moreschini sent:
> The problem is that actually I am  able to access to files in my
> remote site ONLY using using the option File =--> open URL... .
> 
> 
> Using this option, I have to indicate the full path of the file that I
> wont download.
> And, i this way, I cannot know where the files are stored on the site
> - at moment I can get only the file index.html.

Look at one of those files in a text editor, where you can see the
source code (I would think there'd be one in the bluefish application,
to let you edit in the raw).  Where you see href= attributes, they point
to other files (pages, images, etc.), and you can find out filepaths and
filenames from there.

There are various website downloading tools, that would let you download
your entire website, automatically following those links for you.

e.g. wget (If I rememeber correctly.)

> I looked for other possibilities to access remote sites, but I didn't
> find others..

"filezilla" supports at least two protocols (FTP and SFTP).

> I read about a possibility to access to web site using an option
> "places", but I am not able to  localize this option on BlueFish...

I am unfamiliar with BlueFish, so can't really advise on using *it*
properly.

Are you working with a free webhost, but the way?  They may only offer
you limited access methods.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread Alex
Hi,

> On one of my machines:
>
> # cat /proc/cpuinfo | grep Hz
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
> model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
> cpu MHz : 2667.000
>
> Notice there is no throttling.
>
> I have the following entry in a file that is executed when system comes up:
>
> /bin/cpupower --cpu all frequency-set -g performance 2.67G

What package does that belong to? I'm unable to find it and don't have
it on my system.

> Is there a kernel thread running called: acpi_thermal_pm ?

Yes, there is. Could this be a module? Hmm.. I see this one:

# lsmod|grep therm
x86_pkg_temp_thermal16384  0

Now just to figure out how/why it's loaded in order to disable it...

Thanks,
Alex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread jd1008



On 11/27/2015 01:05 PM, Alex wrote:

Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex

On one of my machines:

# cat /proc/cpuinfo | grep Hz
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000
model name  : Intel(R) Core(TM) i5 CPU   M 560  @ 2.67GHz
cpu MHz : 2667.000

Notice there is no throttling.

I have the following entry in a file that is executed when system comes up:

/bin/cpupower --cpu all frequency-set -g performance 2.67G

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Disabling CPU throttling on fedora22

2015-11-27 Thread Alex
Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: No login for mailman3

2015-11-27 Thread Robert Nichols

On 11/27/2015 01:09 PM, Kevin Fenzi wrote:

On Tue, 24 Nov 2015 17:17:29 -0600
Robert Nichols  wrote:


Worthless!  I'll just have to pester the list admin to make the
change I want.


Out of curiosity, what change are you wanting ?


Not wanting it any more. For a while I was having a problem reading
that one list via gmane.org and wanted to turn on my email delivery.
The gmane issue turned out to be a problem with thunderbird that
is now resolved.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread jd1008



On 11/27/2015 01:28 PM, Jon LaBadie wrote:

On Fri, Nov 27, 2015 at 12:38:38PM -0700, jd1008 wrote:


On 11/27/2015 12:14 PM, Jon LaBadie wrote:

On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote:

On 11/27/2015 03:29 AM, Andrew Haley wrote:

#!/bin/awk -f
{
  lines[NR]=$NF " " $0
}

END {
  PROCINFO["sorted_in"]="@val_type_asc"
#  for (i in lines) {

  for (i = NR; i >= 1; i--) {

  line = lines[i]
  j=index(line, " ")
  print substr(line, j+1)
  }
}

Hi Andrew,
manpage for awk does not betray any info on making sort in reverse.
What is the incantation in this script to make the sort in reverse?

Sorry John. It did not sort in reverse :(


Whoops, sorry, I forgot PROCINFO doesn't sort the array,
it affects how the array is accessed.

Does this work?  Choose which ever function suits your direction.


#!/bin/awk -f
{
   lines[NR]=$NF " " $0
}

function cmp_str_index(i1, v1, i2, v2)
{
 # string index comparison, ascending order
 v1 = v1 ""
 v2 = v2 ""
 if (v1 < v2)
return -1
 return (v1 != v2)
}

function rcmp_str_index(i1, v1, i2, v2)
{
 # string index comparison, decending order
 v1 = v1 ""
 v2 = v2 ""
 if (v2 < v1)
return -1
 return (v2 != v1)
}


END {
  PROCINFO["sorted_in"] = "rcmp_str_index"
  for (i in lines) {
   line = lines[i]
   j=index(line, " ")
   print substr(line, j+1)
  }
}

jl

YEP!!!
That does it!!!
Thanx a lot!

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread Jon LaBadie
On Fri, Nov 27, 2015 at 12:38:38PM -0700, jd1008 wrote:
> 
> 
> On 11/27/2015 12:14 PM, Jon LaBadie wrote:
> >On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote:
> >>
> >>On 11/27/2015 03:29 AM, Andrew Haley wrote:
> >>>#!/bin/awk -f
> >>>{
> >>>  lines[NR]=$NF " " $0
> >>>}
> >>>
> >>>END {
> >>>  PROCINFO["sorted_in"]="@val_type_asc"
> >>>#  for (i in lines) {
> >  for (i = NR; i >= 1; i--) {
> >>>  line = lines[i]
> >>>  j=index(line, " ")
> >>>  print substr(line, j+1)
> >>>  }
> >>>}
> >>Hi Andrew,
> >>manpage for awk does not betray any info on making sort in reverse.
> >>What is the incantation in this script to make the sort in reverse?
>
> Sorry John. It did not sort in reverse :(
> 

Whoops, sorry, I forgot PROCINFO doesn't sort the array,
it affects how the array is accessed.

Does this work?  Choose which ever function suits your direction.


#!/bin/awk -f
{
  lines[NR]=$NF " " $0
}

function cmp_str_index(i1, v1, i2, v2)
{
# string index comparison, ascending order
v1 = v1 ""
v2 = v2 ""
if (v1 < v2)
return -1
return (v1 != v2)
}

function rcmp_str_index(i1, v1, i2, v2)
{
# string index comparison, decending order
v1 = v1 ""
v2 = v2 ""
if (v2 < v1)
return -1
return (v2 != v1)
}


END {
 PROCINFO["sorted_in"] = "rcmp_str_index"
 for (i in lines) {
  line = lines[i]
  j=index(line, " ")
  print substr(line, j+1)
 }
}

jl
-- 
Jon H. LaBadie  jo...@jgcomp.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: xfce in 21

2015-11-27 Thread Joe Zeff

On 11/27/2015 11:08 AM, Kevin Fenzi wrote:

As a side note you may want to upgrade very soon, Fedora 21 goes end of
life on december 1st (monday).


Tuesday.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: BlueFish - how to access a remote server

2015-11-27 Thread Dave Ihnat
Watching this go by, I wonder if ownCloud would be a good solution for you.

Cheers,
--
Dave Ihnat
dih...@dminet.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Disabling CPU throttling on fedora22

2015-11-27 Thread jd1008



On 11/27/2015 01:05 PM, Alex wrote:

Hi,
I have a fedora22 SuperMicro system operating as a mail server that
has no need to have the CPU throttled. I'm having trouble figuring out
how to disable the throttling. There also doesn't appear to be any
recent threads discussing this previously.

It appears some are running at full speed while others are not:

# cat /proc/cpuinfo |grep Hz
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1875.187
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2188.687
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2399.906
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1475.812
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2075.437
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2340.750
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 1262.062
model name  : Intel(R) Xeon(R) CPU E5-2609 0 @ 2.40GHz
cpu MHz : 2111.812

I've searched for the programs I've used in the past, including
cpuspeed and cpufreq-* but they appear to no longer exist.

I've looked in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
and all are set to "performance".

What is the procedure for disabling CPU throttling permanently?

Thanks,
Alex

I thought it is related to PM (power management) deamon.
Is there a kernel thread running called: acpi_thermal_pm ?
Run ps to see.

Since it is a kernel thread, I assume it is not under user control.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: xfce in 21

2015-11-27 Thread Frank McCormick

On 27/11/15 02:08 PM, Kevin Fenzi wrote:

On Tue, 24 Nov 2015 14:42:37 -0500
Frank McCormick  wrote:


I am still running Fedora 21 with various desktops including XFCE.

Because of various bugs in the version I am running
I wanted to update to 4.12 -- 4.10 is the current
Fedora 21 version.

A user on the XFCE forum pointed me to a user
repository on Fedora which has 4.12...and this morning
I updated without a problem.

Is 4.12 ever going to be in the official 21 repositories ?

As others have said: nope. ;)

In general we don't tend to upgrade major Xfce versions within the life
of a release, they just keep the one they started with.

As a side note you may want to upgrade very soon, Fedora 21 goes end of
life on december 1st (monday).

kevin



 Just did.

Thanks

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: An interesting sort problem

2015-11-27 Thread Andrew Haley
On 13/11/15 02:38, Michael Hennebry wrote:
> Awk can do what you want:
> {
>  lines[NR]=$NF " " $0
> }
> 
> END {
>  PROCINFO["sorted_in"]="@val_type_asc"
>  for line in lines {
>  j=index(line, " ")
>  print substr(line, j+1)
> }

Close, but no cigar.

#!/bin/awk -f
{
 lines[NR]=$NF " " $0
}

END {
 PROCINFO["sorted_in"]="@val_type_asc"
 for (i in lines) {
 line = lines[i]
 j=index(line, " ")
 print substr(line, j+1)
 }
}

Needs awk >= 4.0

Andrew.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org