Skip to content

Tag: linux

Count maximum amout of parent processes in Linux

Here is my code. But teacher said it’s incorrect and something is wrong in if (pid == 0) condition body. Help me out please. Thank you! Answer fork() returns 0 for child process, >0 for parent process, and a negative value if there were errors. Your child process finishes immediately, so actually you…

Split string in xml

I have xml file which contains data . I want to split only FATURANO Like that 6-R-7 and 4825 And this “4825” should have different name. I Need convert xml data like that but if u answer me only with first question how to split string correctly i will do other transpormation Answer With single xml…

dh: unable to load addon autoreconf in Ubuntu 14.04

I am working with Openvswitch to create mpls vpn network on mininet platform. I am using Ubuntu 14.04 server with kernel version: 4.4.0-97-generic. I am trying to upgrade my openvswitch from 2.0.0 version to version 2.5.2 which is supported by kernel version 4.4.0 . I am following the steps for openvswitch up…