Skip to content

Tag: linux

Interpreting basic ARM instructions

I have been a set few questions, one of them is: Which of these ARM instructions clears register r5, so that all of it’s bits are set to ’0’? From my understanding sub r5, r5, r5 clears the register as it subtracts the number from itself. The and and eor ones clearly look wrong. Does the lsr r5, #32 als…

rabbitmq cluster mistmatch hostname issue

I have deployed openstack-ansible with 3 node rabbitmq cluster and it use lxc to run rabbitmq on top, I am seeing very strange error here when i did rabbitmqctl status command, if you notice its talking to wrong node ostack-controller-01 is host node and not a actual rabbitmq node.. How do i fix this behavior…

Unsigned long into char array

Here is an example of my code : My question is, why does this last memcpy works ? i would expect to put CRYPTO and not &CRYPTO in arguments… For me, CRYPTO is the value i want so 0xe8ba8fa3 and &CRYPTO the address. And for me, CRYPTO is not a pointer, so why i need to use memcpy with &CRYPTO

Not able to create SSIS DB Catlog in linux RHEL 7

I am not able to create SSIS DB Catalog on my MS SQL Server which is installed on Linux RHEL 7 Server. Though I have installed SSIS on Linux RHEL 7. Whenever I am trying to create SSIS DB Catalog i am getting this error. TITLE: Microsoft SQL Server Management Studio The path to the catalog backup file could n…

Why are some Bash commands both built-in and external?

Some commands are internal built-in Bash commands while others are external (other programs). I see why certain commands need to be built-in. Some of the reasons are: If a command needs to change the internal state of the shell process. If a command performs a very basic operation in the shell. If a command i…

Unaligned writes on block devices

I’ve read that write of block of unaligned size can induce extra reads.I mean writes on block devices in Linux. Why? How can I see it? Answer Block devices can only be written or read at their native block alignment, which for everything I’ve ever encountered is either 512 bytes or 4096 bytes. You…