Linux free command

The Linux free command is how to go about getting an idea as to how much memory is being used by the system at a given moment in the command line and when creating bash scripts. WHen it comes to getting an idea of how much memory is being used there is not just knowing how much there is installed, and how much is being used. There is knowing how much physical memory there is, knowing how much swap space there is on the hard drive in terms of a file or partition. There is then also know what the difference is between free, and available when it comes to using the Linux free command.

When it comes to knowing how much free space I have with something the Linux free command is just a simple tool that helps me keep an eye on how much physical ram and spawn space I have. However it will not help me when it comes to creating or resizing a spawn file or spawn partition. It will also not help me to find out how much free space I have on any hard drives or other devices in which I am storing files. When it comes to checking a file system to know how much free space i have there I will want to use the df command. Also the Linux free command will not give me a break down when it comes to how much memory a certain process is using, the free command will just give me over all totals.

So in this post I will be going over a few quick examples of the Linux Free command, but I will also be touching base on a few other topics when it comes to not just checking how much free space I have in general with things, and also some other related topics when it comes to taking a look at processes and so forth.

Read More

Random Walk Stochastic process example

This will be yet another Stochastic process example when it comes to working out some basic and maybe sometime not so basic examples of such a process in statistics, this time on a random walk which is an easy typical getting started type example.

The process of making this kind of random process is simple enough, it will typically include a module what will be used to create a grid, another to create a collection of objects in the grid, and a walk method that will be used to get delta values for an object. However maybe the main method to write about when it comes to this kind of project, and the central topic of the post would be the walk method. When it comes to having an object at a given point in a grid there is taking the next step in one of several directions, there is taking a completely random direction, and then there is taking the same direction over and over again.

Read More

Mine game Stochastic process example

Today I will be continuing with looking into the topic of Stochastic process in statistics which is more or less a fancy formal way of random rather than deterministic processes.

There is a whole world of examples that come to mind when it comes to this, and there are or course many great examples that have all ready been made over the years. However in this post I will be going over a basic example of this kind of system that comes up when it comes to making a basic idle game. In such games there is often some kind of resource that the player gains over time by clicking something, having a way to automate the process of gaining resources without having to click, and having a way to gain a large sum of resources while away from playing.

Read More

Stochastic process basic Bernoulli example

I would like to write at least a few posts on examples of a Stochastic process when it comes to statistics. When it comes to any collection of content on something there is always a kind of getting started type post when it comes to just working out the very basics of something. So a Bernoulli Stochastic process would be a good starting point when it comes to this kind of process because such a process is just simply a coin toss, or in order words a random process where there are only two possible outcomes.

Read More