Skip to content

How to estimate the time for spinlock holing/waiting time?

I’m doing a research on spinlock in Linux kernel. And I need to estimate the time for lock holding and lock waiting. To do that, I first tried to modify the spinlock function (arch_spin_lock()) but I could not modify that function because I could not build the kernel. This function was originally an inl…

How to pass Rundeck key storage to script

I created Rundeck Key storage and stored password in it Then created Job option Then in inline script i specified folowing (keys/JIRA is Rundeck password storage) But password is not passed and authnetication fails, what am i doing wrong ? Answer The password value will be expanded when it is passed to the sc…

Login as root using Laravel Forge

I have executed a recipe on a server at Laravel Forge. The recipe is for some reason run as root. When connecting to the server through ssh, I use user forge. But since the recipe was run as root, I cannot access some processes. My first thought was to log in as root, but I think Forge has disabled that.

What is Kinect + Linux being used for?

An article on Hackaday piqued my curiosity, and I see Kinect + Linux questions being asked here (mostly about configuration), so I’ll venture this question: It is clear to me that Kinect can be used together with Linux on a “regular pc” — but I can’t help wondering why, that is, …

Segmentation Fault on pthread_create

I am having an issue with the following C code. The code itself is supposed to create 5 threads that simulate the Dining Philosophers problem in which threads are accessing shared data. The code follows: I am on a Linux virtual machine, using gedit. The program compiles fine, but upon attempting to run it, I …