How to load Memory in Cent0S easily?

General support questions
Post Reply
belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

How to load Memory in Cent0S easily?

Post by belgeadmin » 2017/05/14 10:51:01

I wanna do some tests in my Centos for ram and swap usage.
So how can i load my ram in Centos easily? Do you know guys?

In some unixs you can handle this just wit one command like; mkfile 4G /tmp/ramloadfile

But in Linux /tmp is not a directory which allocates from ram directly as i understood!
“If at first the idea is not absurd, then there is no hope for it.”

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to load Memory in Cent0S easily?

Post by TrevorH » 2017/05/14 11:43:11

What is the purpose of doing that? If you want to test your RAM then use memtest86+ and leave it running for at least 12 hours, preferably for days.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: How to load Memory in Cent0S easily?

Post by belgeadmin » 2017/05/14 12:49:46

Thanks Trevor but i wanna see ram to swap passing between so many swap devices instantaneously.
Just a test so memtest is not a good idea for me i think.
“If at first the idea is not absurd, then there is no hope for it.”

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: How to load Memory in Cent0S easily?

Post by jlehtone » 2017/05/14 13:49:36

IIRC, the EPEL has a package named 'stress'.

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: How to load Memory in Cent0S easily?

Post by belgeadmin » 2017/05/14 16:53:43

Thanks i will try
“If at first the idea is not absurd, then there is no hope for it.”

Post Reply